summaryrefslogtreecommitdiffstats
path: root/net/curvecp/test_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/curvecp/test_client.h')
-rw-r--r--net/curvecp/test_client.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/curvecp/test_client.h b/net/curvecp/test_client.h
index e992ce8..59a3d59 100644
--- a/net/curvecp/test_client.h
+++ b/net/curvecp/test_client.h
@@ -35,7 +35,7 @@ class TestClient {
// Returns true if successful in starting the client.
bool Start(const HostPortPair& server,
int bytes_to_send,
- CompletionCallback* callback);
+ OldCompletionCallback* callback);
// Returns the number of errors this server encountered.
int error_count() { return errors_; }
@@ -59,10 +59,10 @@ class TestClient {
int bytes_to_send_;
TestDataStream sent_stream_;
TestDataStream received_stream_;
- CompletionCallbackImpl<TestClient> connect_callback_;
- CompletionCallbackImpl<TestClient> read_callback_;
- CompletionCallbackImpl<TestClient> write_callback_;
- CompletionCallback* finished_callback_;
+ OldCompletionCallbackImpl<TestClient> connect_callback_;
+ OldCompletionCallbackImpl<TestClient> read_callback_;
+ OldCompletionCallbackImpl<TestClient> write_callback_;
+ OldCompletionCallback* finished_callback_;
};
} // namespace net