| Index: net/curvecp/test_client.h
|
| diff --git a/net/curvecp/test_client.h b/net/curvecp/test_client.h
|
| index 59a3d59db35fe087a5d3246e9f01a4060792f187..07ae3a6053708a8fa319bfc93daba8091c477c1b 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,
|
| - OldCompletionCallback* callback);
|
| + const CompletionCallback& callback);
|
|
|
| // Returns the number of errors this server encountered.
|
| int error_count() { return errors_; }
|
| @@ -59,10 +59,7 @@ class TestClient {
|
| int bytes_to_send_;
|
| TestDataStream sent_stream_;
|
| TestDataStream received_stream_;
|
| - OldCompletionCallbackImpl<TestClient> connect_callback_;
|
| - OldCompletionCallbackImpl<TestClient> read_callback_;
|
| - OldCompletionCallbackImpl<TestClient> write_callback_;
|
| - OldCompletionCallback* finished_callback_;
|
| + CompletionCallback finished_callback_;
|
| };
|
|
|
| } // namespace net
|
|
|