diff options
Diffstat (limited to 'net/socket/tcp_client_socket_win.h')
-rw-r--r-- | net/socket/tcp_client_socket_win.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h index 2e58cad..1e75933 100644 --- a/net/socket/tcp_client_socket_win.h +++ b/net/socket/tcp_client_socket_win.h @@ -63,10 +63,7 @@ class NET_EXPORT TCPClientSocketWin : public StreamSocket, virtual int Read(IOBuffer* buf, int buf_len, OldCompletionCallback* callback); virtual int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); - virtual int Write(IOBuffer* buf, int buf_len, - OldCompletionCallback* callback); - virtual int Write(IOBuffer* buf, int buf_len, - const CompletionCallback& callback); + virtual int Write(IOBuffer* buf, int buf_len, OldCompletionCallback* callback); virtual bool SetReceiveBufferSize(int32 size); virtual bool SetSendBufferSize(int32 size); @@ -133,8 +130,7 @@ class NET_EXPORT TCPClientSocketWin : public StreamSocket, CompletionCallback read_callback_; // External callback; called when write is complete. - OldCompletionCallback* old_write_callback_; - CompletionCallback write_callback_; + OldCompletionCallback* write_callback_; // The next state for the Connect() state machine. ConnectState next_connect_state_; |