| Index: net/socket/socks_client_socket.h
|
| diff --git a/net/socket/socks_client_socket.h b/net/socket/socks_client_socket.h
|
| index c7089af9d19de114df73285d614f2b8718a98ac4..1a4a75ccd2ebb354f5b5c45e996bb3a371902ef2 100644
|
| --- a/net/socket/socks_client_socket.h
|
| +++ b/net/socket/socks_client_socket.h
|
| @@ -45,7 +45,7 @@ class NET_EXPORT_PRIVATE SOCKSClientSocket : public StreamSocket {
|
| // On destruction Disconnect() is called.
|
| virtual ~SOCKSClientSocket();
|
|
|
| - // StreamSocket methods:
|
| + // StreamSocket implementation.
|
|
|
| // Does the SOCKS handshake and completes the protocol.
|
| virtual int Connect(OldCompletionCallback* callback) OVERRIDE;
|
| @@ -61,10 +61,13 @@ class NET_EXPORT_PRIVATE SOCKSClientSocket : 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;
|
|
|