Index: content/browser/ssl/ssl_client_auth_handler.h |
diff --git a/content/browser/ssl/ssl_client_auth_handler.h b/content/browser/ssl/ssl_client_auth_handler.h |
index b9c2447c7f48cdb384b37ccbbdf8355c0f8b8825..607db3afab80fc971aa4c0c0c704c14553a42c04 100644 |
--- a/content/browser/ssl/ssl_client_auth_handler.h |
+++ b/content/browser/ssl/ssl_client_auth_handler.h |
@@ -13,6 +13,7 @@ |
#include "content/common/content_export.h" |
#include "content/public/browser/browser_thread.h" |
#include "net/ssl/ssl_cert_request_info.h" |
+#include "net/ssl/ssl_private_key.h" |
namespace net { |
class ClientCertStore; |
@@ -34,8 +35,11 @@ class SSLClientAuthHandler { |
public: |
Delegate() {} |
- // Called to continue the request with |cert|. |cert| may be nullptr. |
- virtual void ContinueWithCertificate(net::X509Certificate* cert) = 0; |
+ // Called to continue the request with |cert| and |private_key|. |cert| and |
+ // |private_key| |
+ // may be nullptr. |
davidben
2015/10/13 20:32:15
Nit: wrapping.
svaldez
2015/10/14 15:06:18
Done.
|
+ virtual void ContinueWithCertificate(net::X509Certificate* cert, |
+ net::SSLPrivateKey* private_key) = 0; |
// Called to cancel the certificate selection and abort the request. |
virtual void CancelCertificateSelection() = 0; |
@@ -62,7 +66,8 @@ class SSLClientAuthHandler { |
// is static to avoid deleting |handler| while it is on the stack. |
static void ContinueWithCertificate( |
const base::WeakPtr<SSLClientAuthHandler>& handler, |
- net::X509Certificate* cert); |
+ net::X509Certificate* cert, |
+ net::SSLPrivateKey* pkey); |
// Called to abort the request associated with |handler|. This is static to |
// avoid deleting |handler| while it is on the stack. |