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

Unified Diff: net/ssl/client_cert_store.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 | « net/ssl/client_cert_identity_unittest.cc ('k') | net/ssl/client_cert_store_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/client_cert_store.h
diff --git a/net/ssl/client_cert_store.h b/net/ssl/client_cert_store.h
index b73d871e2de4f37b6b534d2e3347e10d63d11862..cbe7eed0ffc0c7d4bb0595a4d818b9e046127f53 100644
--- a/net/ssl/client_cert_store.h
+++ b/net/ssl/client_cert_store.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "net/base/net_export.h"
#include "net/cert/x509_certificate.h"
+#include "net/ssl/client_cert_identity.h"
namespace net {
@@ -22,13 +23,12 @@ class NET_EXPORT ClientCertStore {
public:
virtual ~ClientCertStore() {}
- using ClientCertListCallback = base::Callback<void(CertificateList)>;
+ using ClientCertListCallback = base::Callback<void(ClientCertIdentityList)>;
- // Get client certs matching the |cert_request_info|. On completion, the
- // results will be stored in |selected_certs| and the |callback| will be run.
- // The |callback| may be called sychronously. The caller must ensure the
- // ClientCertStore and |cert_request_info| remain alive until the callback
- // has been run.
+ // Get client certs matching the |cert_request_info| and pass them to the
+ // |callback|. The |callback| may be called sychronously. The caller must
+ // ensure the ClientCertStore and |cert_request_info| remain alive until the
+ // callback has been run.
virtual void GetClientCerts(const SSLCertRequestInfo& cert_request_info,
const ClientCertListCallback& callback) = 0;
« no previous file with comments | « net/ssl/client_cert_identity_unittest.cc ('k') | net/ssl/client_cert_store_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698