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

Unified Diff: net/cert/cert_database_nss.cc

Issue 18121007: *WIP* Store NSS slots per profile. Move keygen to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cert manager basics working Created 7 years, 2 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/cert/cert_database.h ('k') | net/cert/nss_cert_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_database_nss.cc
diff --git a/net/cert/cert_database_nss.cc b/net/cert/cert_database_nss.cc
index 5fa272134a257ac5134e80be5376efee03c2bee1..0731082b26cd84ba29dad904860d8a5add3a9d13 100644
--- a/net/cert/cert_database_nss.cc
+++ b/net/cert/cert_database_nss.cc
@@ -19,6 +19,7 @@
namespace net {
+/* XXX
// Helper that observes events from the NSSCertDatabase and forwards them to
// the given CertDatabase.
class CertDatabase::Notifier : public NSSCertDatabase::Observer {
@@ -49,12 +50,17 @@ class CertDatabase::Notifier : public NSSCertDatabase::Observer {
DISALLOW_COPY_AND_ASSIGN(Notifier);
};
+*/
CertDatabase::CertDatabase()
: observer_list_(new ObserverListThreadSafe<Observer>) {
+ // XXX
// Observe NSSCertDatabase events and forward them to observers of
// CertDatabase. This also makes sure that NSS has been initialized.
- notifier_.reset(new Notifier(this));
+ //notifier_.reset(new Notifier(this));
+
+ // This makes sure that NSS has been initialized.
+ NSSCertDatabase::GetInstance();
}
CertDatabase::~CertDatabase() {}
« no previous file with comments | « net/cert/cert_database.h ('k') | net/cert/nss_cert_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698