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

Side by Side 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: Flattened components/cert_database folders. Created 6 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/nss_context_linux.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" 5 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h"
6 6
7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" 7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
8 #include "chrome/browser/autofill/personal_data_manager_factory.h" 8 #include "chrome/browser/autofill/personal_data_manager_factory.h"
9 #include "chrome/browser/background/background_contents_service_factory.h" 9 #include "chrome/browser/background/background_contents_service_factory.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 #if defined(OS_CHROMEOS) 91 #if defined(OS_CHROMEOS)
92 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto ry.h" 92 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto ry.h"
93 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi ce_factory.h" 93 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi ce_factory.h"
94 #endif 94 #endif
95 #endif 95 #endif
96 96
97 #if defined(USE_AURA) 97 #if defined(USE_AURA)
98 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" 98 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h"
99 #endif 99 #endif
100 100
101 #if defined(USE_NSS)
102 #include "chrome/browser/net/cert_database_service_factory.h"
103 #endif
104
101 #if defined(OS_ANDROID) 105 #if defined(OS_ANDROID)
102 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" 106 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h"
103 #else 107 #else
104 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" 108 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h"
105 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" 109 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h"
106 #endif 110 #endif
107 111
108 #if defined(ENABLE_SPELLCHECK) 112 #if defined(ENABLE_SPELLCHECK)
109 #include "chrome/browser/spellchecker/spellcheck_factory.h" 113 #include "chrome/browser/spellchecker/spellcheck_factory.h"
110 #endif 114 #endif
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 #endif 261 #endif
258 suggestions::SuggestionsServiceFactory::GetInstance(); 262 suggestions::SuggestionsServiceFactory::GetInstance();
259 ThumbnailServiceFactory::GetInstance(); 263 ThumbnailServiceFactory::GetInstance();
260 TabRestoreServiceFactory::GetInstance(); 264 TabRestoreServiceFactory::GetInstance();
261 TemplateURLFetcherFactory::GetInstance(); 265 TemplateURLFetcherFactory::GetInstance();
262 TemplateURLServiceFactory::GetInstance(); 266 TemplateURLServiceFactory::GetInstance();
263 #if defined(ENABLE_THEMES) 267 #if defined(ENABLE_THEMES)
264 ThemeServiceFactory::GetInstance(); 268 ThemeServiceFactory::GetInstance();
265 #endif 269 #endif
266 WebDataServiceFactory::GetInstance(); 270 WebDataServiceFactory::GetInstance();
271
272 #if defined(USE_NSS)
273 cert_database::CertDatabaseServiceFactory::GetInstance();
274 #endif
267 } 275 }
268 276
269 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 277 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
270 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 278 EnsureBrowserContextKeyedServiceFactoriesBuilt();
271 } 279 }
OLDNEW
« no previous file with comments | « chrome/browser/net/nss_context_linux.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698