diff options
Diffstat (limited to 'chromium/net/socket/socks5_client_socket.h')
-rw-r--r-- | chromium/net/socket/socks5_client_socket.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/net/socket/socks5_client_socket.h b/chromium/net/socket/socks5_client_socket.h index 45216244f10..8da0b4da5ce 100644 --- a/chromium/net/socket/socks5_client_socket.h +++ b/chromium/net/socket/socks5_client_socket.h @@ -64,8 +64,8 @@ class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { int buf_len, const CompletionCallback& callback) OVERRIDE; - virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; - virtual bool SetSendBufferSize(int32 size) OVERRIDE; + virtual int SetReceiveBufferSize(int32 size) OVERRIDE; + virtual int SetSendBufferSize(int32 size) OVERRIDE; virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; @@ -99,6 +99,7 @@ class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { void DoCallback(int result); void OnIOComplete(int result); + void OnReadWriteComplete(const CompletionCallback& callback, int result); int DoLoop(int last_io_result); int DoHandshakeRead(); @@ -143,6 +144,8 @@ class NET_EXPORT_PRIVATE SOCKS5ClientSocket : public StreamSocket { size_t read_header_size; + bool was_ever_used_; + HostResolver::RequestInfo host_request_info_; BoundNetLog net_log_; |