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 <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" | 37 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" |
38 #include "chrome/browser/ntp_snippets/content_suggestions_service_factory.h" | 38 #include "chrome/browser/ntp_snippets/content_suggestions_service_factory.h" |
39 #include "chrome/browser/password_manager/password_manager_setting_migrator_serv
ice_factory.h" | 39 #include "chrome/browser/password_manager/password_manager_setting_migrator_serv
ice_factory.h" |
40 #include "chrome/browser/password_manager/password_store_factory.h" | 40 #include "chrome/browser/password_manager/password_store_factory.h" |
41 #include "chrome/browser/plugins/plugin_prefs_factory.h" | 41 #include "chrome/browser/plugins/plugin_prefs_factory.h" |
42 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" | 42 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" |
43 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" | 43 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" |
44 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 44 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
45 #include "chrome/browser/policy/schema_registry_service_factory.h" | 45 #include "chrome/browser/policy/schema_registry_service_factory.h" |
46 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" | 46 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" |
| 47 #include "chrome/browser/predictors/glowplug_predictor_factory.h" |
47 #include "chrome/browser/predictors/predictor_database_factory.h" | 48 #include "chrome/browser/predictors/predictor_database_factory.h" |
48 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" | |
49 #include "chrome/browser/prerender/prerender_link_manager_factory.h" | 49 #include "chrome/browser/prerender/prerender_link_manager_factory.h" |
50 #include "chrome/browser/prerender/prerender_manager_factory.h" | 50 #include "chrome/browser/prerender/prerender_manager_factory.h" |
51 #include "chrome/browser/prerender/prerender_message_filter.h" | 51 #include "chrome/browser/prerender/prerender_message_filter.h" |
52 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 52 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
53 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" | 53 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" |
54 #include "chrome/browser/safe_browsing/certificate_reporting_service_factory.h" | 54 #include "chrome/browser/safe_browsing/certificate_reporting_service_factory.h" |
55 #include "chrome/browser/search/instant_service_factory.h" | 55 #include "chrome/browser/search/instant_service_factory.h" |
56 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" | 56 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" |
57 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 57 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
58 #include "chrome/browser/search_engines/template_url_service_factory.h" | 58 #include "chrome/browser/search_engines/template_url_service_factory.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); | 302 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
303 #else // !defined(OS_CHROMEOS) | 303 #else // !defined(OS_CHROMEOS) |
304 policy::UserCloudPolicyManagerFactory::GetInstance(); | 304 policy::UserCloudPolicyManagerFactory::GetInstance(); |
305 policy::UserPolicySigninServiceFactory::GetInstance(); | 305 policy::UserPolicySigninServiceFactory::GetInstance(); |
306 #endif | 306 #endif |
307 policy::PolicyHeaderServiceFactory::GetInstance(); | 307 policy::PolicyHeaderServiceFactory::GetInstance(); |
308 policy::SchemaRegistryServiceFactory::GetInstance(); | 308 policy::SchemaRegistryServiceFactory::GetInstance(); |
309 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); | 309 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); |
310 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 310 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
311 predictors::PredictorDatabaseFactory::GetInstance(); | 311 predictors::PredictorDatabaseFactory::GetInstance(); |
312 predictors::ResourcePrefetchPredictorFactory::GetInstance(); | 312 predictors::GlowplugPredictorFactory::GetInstance(); |
313 prerender::PrerenderLinkManagerFactory::GetInstance(); | 313 prerender::PrerenderLinkManagerFactory::GetInstance(); |
314 prerender::PrerenderManagerFactory::GetInstance(); | 314 prerender::PrerenderManagerFactory::GetInstance(); |
315 prerender::PrerenderMessageFilter::EnsureShutdownNotifierFactoryBuilt(); | 315 prerender::PrerenderMessageFilter::EnsureShutdownNotifierFactoryBuilt(); |
316 ProfileSyncServiceFactory::GetInstance(); | 316 ProfileSyncServiceFactory::GetInstance(); |
317 ProtocolHandlerRegistryFactory::GetInstance(); | 317 ProtocolHandlerRegistryFactory::GetInstance(); |
318 #if defined(OS_ANDROID) | 318 #if defined(OS_ANDROID) |
319 SearchGeolocationService::Factory::GetInstance(); | 319 SearchGeolocationService::Factory::GetInstance(); |
320 #endif | 320 #endif |
321 #if BUILDFLAG(ENABLE_SESSION_SERVICE) | 321 #if BUILDFLAG(ENABLE_SESSION_SERVICE) |
322 SessionServiceFactory::GetInstance(); | 322 SessionServiceFactory::GetInstance(); |
(...skipping 18 matching lines...) Expand all Loading... |
341 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 341 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
342 #if !defined(OS_ANDROID) | 342 #if !defined(OS_ANDROID) |
343 UsbChooserContextFactory::GetInstance(); | 343 UsbChooserContextFactory::GetInstance(); |
344 #endif | 344 #endif |
345 WebDataServiceFactory::GetInstance(); | 345 WebDataServiceFactory::GetInstance(); |
346 } | 346 } |
347 | 347 |
348 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 348 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
349 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 349 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
350 } | 350 } |
OLD | NEW |