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

Unified Diff: net/ssl/client_cert_store_chromeos.h

Issue 1232553003: Add new certificateProvider extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: net/ssl/client_cert_store_chromeos.h
diff --git a/net/ssl/client_cert_store_chromeos.h b/net/ssl/client_cert_store_chromeos.h
index 2bc359cd9a5f3a0c251bacf4281bc90d2d52c1ed..77894ba16ed1440a9f7b9c70b9b26dff7162db2e 100644
--- a/net/ssl/client_cert_store_chromeos.h
+++ b/net/ssl/client_cert_store_chromeos.h
@@ -33,9 +33,15 @@ class NET_EXPORT ClientCertStoreChromeOS : public ClientCertStoreNSS {
const scoped_refptr<X509Certificate>& cert) const = 0;
};
+ class CertStoreDelegate {
+ public:
+ virtual void GetCertificates(CertificateList* provided_certs) = 0;
+ };
+
// This ClientCertStore will return only client certs that pass the filter
// |cert_filter|.
ClientCertStoreChromeOS(
+ scoped_ptr<CertStoreDelegate> cert_store_delegate,
scoped_ptr<CertFilter> cert_filter,
const PasswordDelegateFactory& password_delegate_factory);
~ClientCertStoreChromeOS() override;

Powered by Google App Engine
This is Rietveld 408576698