OLD | NEW |
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" |
11 #include "chrome/browser/chrome_browser_main.h" | 11 #include "chrome/browser/chrome_browser_main.h" |
12 #include "chrome/browser/content_settings/cookie_settings.h" | 12 #include "chrome/browser/content_settings/cookie_settings.h" |
13 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 13 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
14 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 14 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
15 #include "chrome/browser/domain_reliability/service_factory.h" | 15 #include "chrome/browser/domain_reliability/service_factory.h" |
16 #include "chrome/browser/download/download_service_factory.h" | 16 #include "chrome/browser/download/download_service_factory.h" |
17 #include "chrome/browser/extensions/extension_management.h" | 17 #include "chrome/browser/extensions/extension_management.h" |
18 #include "chrome/browser/favicon/favicon_service_factory.h" | 18 #include "chrome/browser/favicon/favicon_service_factory.h" |
19 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h" | 19 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h" |
20 #include "chrome/browser/google/google_url_tracker_factory.h" | 20 #include "chrome/browser/google/google_url_tracker_factory.h" |
21 #include "chrome/browser/history/history_service_factory.h" | 21 #include "chrome/browser/history/history_service_factory.h" |
22 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" | 22 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
23 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" | 23 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" |
24 #include "chrome/browser/notifications/desktop_notification_service_factory.h" | 24 #include "chrome/browser/notifications/desktop_notification_service_factory.h" |
25 #include "chrome/browser/password_manager/password_store_factory.h" | 25 #include "chrome/browser/password_manager/password_store_factory.h" |
26 #include "chrome/browser/plugins/plugin_prefs_factory.h" | 26 #include "chrome/browser/plugins/plugin_prefs_factory.h" |
27 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 27 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
28 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" | 28 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" |
29 #include "chrome/browser/predictors/predictor_database_factory.h" | 29 #include "chrome/browser/predictors/predictor_database_factory.h" |
30 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" | |
31 #include "chrome/browser/prerender/prerender_link_manager_factory.h" | 30 #include "chrome/browser/prerender/prerender_link_manager_factory.h" |
32 #include "chrome/browser/prerender/prerender_manager_factory.h" | 31 #include "chrome/browser/prerender/prerender_manager_factory.h" |
33 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 32 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
34 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" | 33 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" |
35 #include "chrome/browser/search/instant_service_factory.h" | 34 #include "chrome/browser/search/instant_service_factory.h" |
36 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" | 35 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" |
37 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 36 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
38 #include "chrome/browser/search_engines/template_url_service_factory.h" | 37 #include "chrome/browser/search_engines/template_url_service_factory.h" |
39 #include "chrome/browser/sessions/session_service_factory.h" | 38 #include "chrome/browser/sessions/session_service_factory.h" |
40 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 39 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 #if !defined(OS_IOS) | 232 #if !defined(OS_IOS) |
234 policy::UserPolicySigninServiceFactory::GetInstance(); | 233 policy::UserPolicySigninServiceFactory::GetInstance(); |
235 #endif | 234 #endif |
236 #endif | 235 #endif |
237 policy::PolicyHeaderServiceFactory::GetInstance(); | 236 policy::PolicyHeaderServiceFactory::GetInstance(); |
238 policy::SchemaRegistryServiceFactory::GetInstance(); | 237 policy::SchemaRegistryServiceFactory::GetInstance(); |
239 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); | 238 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); |
240 #endif | 239 #endif |
241 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 240 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
242 predictors::PredictorDatabaseFactory::GetInstance(); | 241 predictors::PredictorDatabaseFactory::GetInstance(); |
243 predictors::ResourcePrefetchPredictorFactory::GetInstance(); | |
244 prerender::PrerenderManagerFactory::GetInstance(); | 242 prerender::PrerenderManagerFactory::GetInstance(); |
245 prerender::PrerenderLinkManagerFactory::GetInstance(); | 243 prerender::PrerenderLinkManagerFactory::GetInstance(); |
246 ProfileSyncServiceFactory::GetInstance(); | 244 ProfileSyncServiceFactory::GetInstance(); |
247 ProtocolHandlerRegistryFactory::GetInstance(); | 245 ProtocolHandlerRegistryFactory::GetInstance(); |
248 #if defined(ENABLE_SESSION_SERVICE) | 246 #if defined(ENABLE_SESSION_SERVICE) |
249 SessionServiceFactory::GetInstance(); | 247 SessionServiceFactory::GetInstance(); |
250 #endif | 248 #endif |
251 ShortcutsBackendFactory::GetInstance(); | 249 ShortcutsBackendFactory::GetInstance(); |
252 SigninManagerFactory::GetInstance(); | 250 SigninManagerFactory::GetInstance(); |
253 #if defined(ENABLE_SPELLCHECK) | 251 #if defined(ENABLE_SPELLCHECK) |
254 SpellcheckServiceFactory::GetInstance(); | 252 SpellcheckServiceFactory::GetInstance(); |
255 #endif | 253 #endif |
256 suggestions::SuggestionsServiceFactory::GetInstance(); | 254 suggestions::SuggestionsServiceFactory::GetInstance(); |
257 ThumbnailServiceFactory::GetInstance(); | 255 ThumbnailServiceFactory::GetInstance(); |
258 TabRestoreServiceFactory::GetInstance(); | 256 TabRestoreServiceFactory::GetInstance(); |
259 TemplateURLFetcherFactory::GetInstance(); | 257 TemplateURLFetcherFactory::GetInstance(); |
260 TemplateURLServiceFactory::GetInstance(); | 258 TemplateURLServiceFactory::GetInstance(); |
261 #if defined(ENABLE_THEMES) | 259 #if defined(ENABLE_THEMES) |
262 ThemeServiceFactory::GetInstance(); | 260 ThemeServiceFactory::GetInstance(); |
263 #endif | 261 #endif |
264 WebDataServiceFactory::GetInstance(); | 262 WebDataServiceFactory::GetInstance(); |
265 } | 263 } |
266 | 264 |
267 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 265 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
268 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 266 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
269 } | 267 } |
OLD | NEW |