Index: remoting/jingle_glue/ssl_socket_adapter.cc |
diff --git a/remoting/jingle_glue/ssl_socket_adapter.cc b/remoting/jingle_glue/ssl_socket_adapter.cc |
index 625b8c17c723ae9c655b32b19ea3f3226f3bb49f..1948c68260afaaeee721e0ba95385ee5488f624b 100644 |
--- a/remoting/jingle_glue/ssl_socket_adapter.cc |
+++ b/remoting/jingle_glue/ssl_socket_adapter.cc |
@@ -206,6 +206,12 @@ int TransportSocket::Connect(net::OldCompletionCallback* callback) { |
NOTREACHED(); |
return false; |
} |
+int TransportSocket::Connect(const net::CompletionCallback& callback) { |
+ // Connect is never called by SSLClientSocket, instead SSLSocketAdapter |
+ // calls Connect() on socket_ directly. |
+ NOTREACHED(); |
+ return false; |
+} |
void TransportSocket::Disconnect() { |
socket_->Close(); |