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

Unified Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 419013003: Replace c/b/nss_context by a KeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added cert_database namespace. Created 6 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
Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
index d6f53e4838a5f98382a0d3e7d78fd125cd1f345f..4d1fcc335c1b0a61d3974858b6e954db52f4d7b6 100644
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -98,6 +98,10 @@
#include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h"
#endif
+#if defined(USE_NSS)
+#include "chrome/browser/net/cert_database_service_factory.h"
+#endif
+
#if defined(OS_ANDROID)
#include "chrome/browser/media/protected_media_identifier_permission_context_factory.h"
#else
@@ -264,6 +268,10 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
ThemeServiceFactory::GetInstance();
#endif
WebDataServiceFactory::GetInstance();
+
+#if defined(USE_NSS)
+ cert_database::CertDatabaseServiceFactory::GetInstance();
+#endif
}
void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {

Powered by Google App Engine
This is Rietveld 408576698