Index: net/socket/ssl_client_socket.h |
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h |
index fb1f2f215bcd380a8cd3a25b63e779c46bb299c1..bcddfb5eeea6575256ff1585545398c8b4e71225 100644 |
--- a/net/socket/ssl_client_socket.h |
+++ b/net/socket/ssl_client_socket.h |
@@ -104,6 +104,9 @@ class NET_EXPORT SSLClientSocket : public SSLSocket { |
// Sets the callback to be used if the socket's ssl handshake should fail. |
virtual void SetHandshakeFailureCallback(const base::Closure& callback) = 0; |
+ // In the case of a failed connection, run the appropriate callback. |
+ virtual void OnSocketFailure() = 0; |
+ |
// Gets the SSL CertificateRequest info of the socket after Connect failed |
// with ERR_SSL_CLIENT_AUTH_CERT_NEEDED. |
virtual void GetSSLCertRequestInfo( |