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

Unified Diff: net/cert/cert_database.h

Issue 111273002: NSSCertDatabaseChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gcc fix Created 7 years 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/cert/cert_database.h
diff --git a/net/cert/cert_database.h b/net/cert/cert_database.h
index feadf4c1d0856d8795cc9f0690fd84000414e090..ccb037c68d4ae353d4aede10c634c9fe2bfe63b0 100644
--- a/net/cert/cert_database.h
+++ b/net/cert/cert_database.h
@@ -16,6 +16,8 @@ template <class ObserverType> class ObserverListThreadSafe;
namespace net {
+class NSSCertDatabase;
+
// This class provides cross-platform functions to verify and add user
// certificates, and to observe changes to the underlying certificate stores.
@@ -85,6 +87,12 @@ class NET_EXPORT CertDatabase {
void OnAndroidKeyChainChanged();
#endif
+#if defined(USE_NSS)
+ // Observe events from the |source| and forward them to observers of this
+ // CertDatabase.
+ void AddSource(NSSCertDatabase* source);
Ryan Sleevi 2013/12/13 19:16:59 Naming wise, I think this is fairly ambiguous. Pe
mattm 2013/12/14 00:41:08 Since NSSCertDatabaseChromeOS subclasses NSSCertDa
mattm 2013/12/18 04:00:50 done.
+#endif
+
private:
friend struct DefaultSingletonTraits<CertDatabase>;

Powered by Google App Engine
This is Rietveld 408576698