summaryrefslogtreecommitdiffstats
path: root/net/curvecp/test_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/curvecp/test_client.cc')
-rw-r--r--net/curvecp/test_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/curvecp/test_client.cc b/net/curvecp/test_client.cc
index 9eced0d..abf5957 100644
--- a/net/curvecp/test_client.cc
+++ b/net/curvecp/test_client.cc
@@ -45,7 +45,7 @@ TestClient::~TestClient() {
bool TestClient::Start(const HostPortPair& server_host_port_pair,
int bytes_to_send,
- CompletionCallback* callback) {
+ OldCompletionCallback* callback) {
DCHECK(!socket_);
DCHECK(!finished_callback_);
@@ -171,7 +171,7 @@ void TestClient::Finish(int result) {
DCHECK(finished_callback_);
LOG(ERROR) << "TestClient Done!";
- CompletionCallback* callback = finished_callback_;
+ OldCompletionCallback* callback = finished_callback_;
finished_callback_ = NULL;
callback->Run(result);
}