Index: net/curvecp/curvecp_client_socket.h |
diff --git a/net/curvecp/curvecp_client_socket.h b/net/curvecp/curvecp_client_socket.h |
index 85f88179630711a9b6247f1bcf56bd9693ae2021..8062c8725e4292a4261481e7ac280dae6ca9e408 100644 |
--- a/net/curvecp/curvecp_client_socket.h |
+++ b/net/curvecp/curvecp_client_socket.h |
@@ -41,10 +41,13 @@ class CurveCPClientSocket : public StreamSocket { |
virtual int64 NumBytesRead() const OVERRIDE; |
virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; |
- // Socket methods: |
+ // Socket implementation. |
virtual int Read(IOBuffer* buf, |
int buf_len, |
OldCompletionCallback* callback) OVERRIDE; |
+ virtual int Read(IOBuffer* buf, |
+ int buf_len, |
+ const CompletionCallback& callback) OVERRIDE; |
virtual int Write(IOBuffer* buf, |
int buf_len, |
OldCompletionCallback* callback) OVERRIDE; |