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..d5d01d7f073138b910b82804222d2eda2f9f942f 100644 |
--- a/content/browser/ssl/ssl_client_auth_handler.h |
+++ b/content/browser/ssl/ssl_client_auth_handler.h |
@@ -16,6 +16,7 @@ |
namespace net { |
class ClientCertStore; |
+class SSLPrivateKey; |
class URLRequest; |
class X509Certificate; |
} // namespace net |
@@ -34,8 +35,10 @@ 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 |pkey|. |cert| and |pkey| |
+ // may be nullptr. |
+ virtual void ContinueWithCertificate(net::X509Certificate* cert, |
+ net::SSLPrivateKey* pkey) = 0; |
// Called to cancel the certificate selection and abort the request. |
virtual void CancelCertificateSelection() = 0; |
@@ -62,7 +65,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. |