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/loading_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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); | 304 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
305 #else // !defined(OS_CHROMEOS) | 305 #else // !defined(OS_CHROMEOS) |
306 policy::UserCloudPolicyManagerFactory::GetInstance(); | 306 policy::UserCloudPolicyManagerFactory::GetInstance(); |
307 policy::UserPolicySigninServiceFactory::GetInstance(); | 307 policy::UserPolicySigninServiceFactory::GetInstance(); |
308 #endif | 308 #endif |
309 policy::PolicyHeaderServiceFactory::GetInstance(); | 309 policy::PolicyHeaderServiceFactory::GetInstance(); |
310 policy::SchemaRegistryServiceFactory::GetInstance(); | 310 policy::SchemaRegistryServiceFactory::GetInstance(); |
311 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); | 311 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); |
312 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 312 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
313 predictors::PredictorDatabaseFactory::GetInstance(); | 313 predictors::PredictorDatabaseFactory::GetInstance(); |
314 predictors::ResourcePrefetchPredictorFactory::GetInstance(); | 314 predictors::LoadingPredictorFactory::GetInstance(); |
315 prerender::PrerenderLinkManagerFactory::GetInstance(); | 315 prerender::PrerenderLinkManagerFactory::GetInstance(); |
316 prerender::PrerenderManagerFactory::GetInstance(); | 316 prerender::PrerenderManagerFactory::GetInstance(); |
317 prerender::PrerenderMessageFilter::EnsureShutdownNotifierFactoryBuilt(); | 317 prerender::PrerenderMessageFilter::EnsureShutdownNotifierFactoryBuilt(); |
318 ProfileSyncServiceFactory::GetInstance(); | 318 ProfileSyncServiceFactory::GetInstance(); |
319 ProtocolHandlerRegistryFactory::GetInstance(); | 319 ProtocolHandlerRegistryFactory::GetInstance(); |
320 #if defined(OS_ANDROID) | 320 #if defined(OS_ANDROID) |
321 SearchGeolocationService::Factory::GetInstance(); | 321 SearchGeolocationService::Factory::GetInstance(); |
322 #endif | 322 #endif |
323 #if BUILDFLAG(ENABLE_SESSION_SERVICE) | 323 #if BUILDFLAG(ENABLE_SESSION_SERVICE) |
324 SessionServiceFactory::GetInstance(); | 324 SessionServiceFactory::GetInstance(); |
(...skipping 18 matching lines...) Expand all Loading... |
343 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 343 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
344 #if !defined(OS_ANDROID) | 344 #if !defined(OS_ANDROID) |
345 UsbChooserContextFactory::GetInstance(); | 345 UsbChooserContextFactory::GetInstance(); |
346 #endif | 346 #endif |
347 WebDataServiceFactory::GetInstance(); | 347 WebDataServiceFactory::GetInstance(); |
348 } | 348 } |
349 | 349 |
350 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 350 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
351 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 351 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
352 } | 352 } |
OLD | NEW |