Index: net/url_request/url_request.h |
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
index 6e126c31fa7d1f1a05c4c000360118fd1b1df702..3b1bc072fe985fe0683d72051f625e4ec2de53b1 100644 |
--- a/net/url_request/url_request.h |
+++ b/net/url_request/url_request.h |
@@ -31,6 +31,7 @@ |
#include "net/http/http_response_info.h" |
#include "net/log/net_log.h" |
#include "net/socket/connection_attempts.h" |
+#include "net/ssl/ssl_private_key.h" |
davidben
2015/09/25 20:10:12
This can be a forward decl.
svaldez
2015/09/28 16:54:53
Done.
|
#include "net/url_request/url_request_status.h" |
#include "url/gurl.h" |
@@ -172,8 +173,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), |
// Called when we receive an SSL CertificateRequest message for client |
// authentication. The delegate should call |
// request->ContinueWithCertificate() with the client certificate the user |
- // selected, or request->ContinueWithCertificate(NULL) to continue the SSL |
- // handshake without a client certificate. |
+ // selected and its private key, or request->ContinueWithCertificate(NULL, |
+ // NULL) |
+ // to continue the SSL handshake without a client certificate. |
virtual void OnCertificateRequested( |
URLRequest* request, |
SSLCertRequestInfo* cert_request_info); |
@@ -570,7 +572,8 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), |
// This method can be called after the user selects a client certificate to |
// instruct this URLRequest to continue with the request with the |
// certificate. Pass NULL if the user doesn't have a client certificate. |
- void ContinueWithCertificate(X509Certificate* client_cert); |
+ void ContinueWithCertificate(X509Certificate* client_cert, |
+ SSLPrivateKey* client_pkey); |
// This method can be called after some error notifications to instruct this |
// URLRequest to ignore the current error and continue with the request. To |