Index: net/socket/stream_socket.h |
diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h |
index 0a684428d43f35acaeeeaa4afe8e9dc3c4117701..3ba5b42b8899f01c56b1c8a5366af5d348ee8f9c 100644 |
--- a/net/socket/stream_socket.h |
+++ b/net/socket/stream_socket.h |
@@ -34,6 +34,7 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket { |
// Connect may also be called again after a call to the Disconnect method. |
// |
virtual int Connect(OldCompletionCallback* callback) = 0; |
+ virtual int Connect(const CompletionCallback& callback) = 0; |
// Called to disconnect a socket. Does nothing if the socket is already |
// disconnected. After calling Disconnect it is possible to call Connect |