Index: remoting/protocol/pepper_transport_socket_adapter.h |
diff --git a/remoting/protocol/pepper_transport_socket_adapter.h b/remoting/protocol/pepper_transport_socket_adapter.h |
index c25506d468be4381850abc68f123583854a22746..509f1985145b687490127a12579abef13c8268da 100644 |
--- a/remoting/protocol/pepper_transport_socket_adapter.h |
+++ b/remoting/protocol/pepper_transport_socket_adapter.h |
@@ -50,6 +50,8 @@ class PepperTransportSocketAdapter : public base::NonThreadSafe, |
// net::Socket implementation. |
virtual int Read(net::IOBuffer* buf, int buf_len, |
net::OldCompletionCallback* callback) OVERRIDE; |
+ virtual int Read(net::IOBuffer* buf, int buf_len, |
+ const net::CompletionCallback& callback) OVERRIDE; |
virtual int Write(net::IOBuffer* buf, int buf_len, |
net::OldCompletionCallback* callback) OVERRIDE; |
virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; |
@@ -91,7 +93,8 @@ class PepperTransportSocketAdapter : public base::NonThreadSafe, |
bool get_address_pending_; |
- net::OldCompletionCallback* read_callback_; |
+ net::OldCompletionCallback* old_read_callback_; |
+ net::CompletionCallback read_callback_; |
James Hawkins
2011/12/07 00:01:57
#include "net/base/completion_callback.h"
James Hawkins
2011/12/07 00:08:11
Done.
|
scoped_refptr<net::IOBuffer> read_buffer_; |
net::OldCompletionCallback* write_callback_; |