diff options
Diffstat (limited to 'net/socket/socks5_client_socket.h')
-rw-r--r-- | net/socket/socks5_client_socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/socket/socks5_client_socket.h b/net/socket/socks5_client_socket.h index aeb1864..748b55a 100644 --- a/net/socket/socks5_client_socket.h +++ b/net/socket/socks5_client_socket.h @@ -52,6 +52,7 @@ class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { // Does the SOCKS handshake and completes the protocol. virtual int Connect(OldCompletionCallback* callback) OVERRIDE; + virtual int Connect(const CompletionCallback& callback) OVERRIDE; virtual void Disconnect() OVERRIDE; virtual bool IsConnected() const OVERRIDE; virtual bool IsConnectedAndIdle() const OVERRIDE; @@ -129,7 +130,8 @@ class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { State next_state_; // Stores the callback to the layer above, called on completing Connect(). - OldCompletionCallback* user_callback_; + OldCompletionCallback* old_user_callback_; + CompletionCallback user_callback_; // This IOBuffer is used by the class to read and write // SOCKS handshake data. The length contains the expected size to |