| 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..9463df92bf61ce34478f692066a78b363c655528 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,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 |private_key|. |cert| and
|
| + // |private_key| may be nullptr.
|
| + 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 +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.
|
|
|