| 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 72c6cbd4dea79004df1ad80dc86c2765dc18f8f0..ce648b122901ab1b28961c27fb34824634d6e531 100644
|
| --- a/content/browser/ssl/ssl_client_auth_handler.h
|
| +++ b/content/browser/ssl/ssl_client_auth_handler.h
|
| @@ -12,6 +12,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;
|
| @@ -33,8 +34,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;
|
| @@ -61,7 +64,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.
|
|
|