Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2170)

Unified Diff: content/browser/ssl/ssl_client_auth_handler.h

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing unused function in Android. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698