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

Unified Diff: chrome/browser/ssl/ssl_client_auth_observer.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 years, 6 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
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/ssl/ssl_client_auth_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_client_auth_observer.h
diff --git a/chrome/browser/ssl/ssl_client_auth_observer.h b/chrome/browser/ssl/ssl_client_auth_observer.h
index 96f19301e02551d4b885935ac07d14c484aa5b2d..3f3afd46cca1cb470d3908469ab6dd9415c3a79b 100644
--- a/chrome/browser/ssl/ssl_client_auth_observer.h
+++ b/chrome/browser/ssl/ssl_client_auth_observer.h
@@ -15,6 +15,7 @@
namespace net {
class SSLCertRequestInfo;
+class SSLPrivateKey;
class X509Certificate;
}
@@ -41,7 +42,8 @@ class SSLClientAuthObserver : public content::NotificationObserver {
// Continues the request with a certificate. Can also call with NULL to
// continue with no certificate. Derived classes must use this instead of
// caching the delegate and calling it directly.
- void CertificateSelected(net::X509Certificate* cert);
+ void CertificateSelected(net::X509Certificate* cert,
+ net::SSLPrivateKey* private_key);
// Cancels the certificate selection and aborts the request.
void CancelCertificateSelection();
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/ssl/ssl_client_auth_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698