Index: jingle/glue/pseudotcp_adapter.h |
diff --git a/jingle/glue/pseudotcp_adapter.h b/jingle/glue/pseudotcp_adapter.h |
index fa48b15a9acb717a6f6a83405f188b3a56c03d73..5a560b8f15bdad24175a56bfa617e1ea9cef81a6 100644 |
--- a/jingle/glue/pseudotcp_adapter.h |
+++ b/jingle/glue/pseudotcp_adapter.h |
@@ -17,7 +17,7 @@ |
namespace jingle_glue { |
-// PseudoTcpAdapter adapts a connectionless net::Socket to a connection- |
+// PseudoTcpAdapter adapts a connection-less net::Socket to a connection- |
// oriented net::StreamSocket using PseudoTcp. Because net::StreamSockets |
// can be deleted during callbacks, while PseudoTcp cannot, the core of the |
// PseudoTcpAdapter is reference counted, with a reference held by the |
@@ -32,6 +32,8 @@ class PseudoTcpAdapter : public net::StreamSocket, base::NonThreadSafe { |
// net::Socket implementation. |
virtual int Read(net::IOBuffer* buffer, int buffer_size, |
net::OldCompletionCallback* callback) OVERRIDE; |
+ virtual int Read(net::IOBuffer* buffer, int buffer_size, |
+ const net::CompletionCallback& callback) OVERRIDE; |
virtual int Write(net::IOBuffer* buffer, int buffer_size, |
net::OldCompletionCallback* callback) OVERRIDE; |
virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; |