| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 #if defined(OS_CHROMEOS) | 118 #if defined(OS_CHROMEOS) |
| 119 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" | 119 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" |
| 120 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" | 120 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" |
| 121 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" | 121 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" |
| 122 #include "chrome/browser/chromeos/tether/tether_service_factory.h" | 122 #include "chrome/browser/chromeos/tether/tether_service_factory.h" |
| 123 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" | 123 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" |
| 124 #endif | 124 #endif |
| 125 | 125 |
| 126 #if defined(OS_ANDROID) | 126 #if defined(OS_ANDROID) |
| 127 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" | 127 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" |
| 128 #include "chrome/browser/android/offline_pages/prefetch/prefetch_service_factory
.h" |
| 128 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" | 129 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" |
| 129 #else | 130 #else |
| 130 #include "chrome/browser/cryptauth/chrome_cryptauth_service_factory.h" | 131 #include "chrome/browser/cryptauth/chrome_cryptauth_service_factory.h" |
| 131 #include "chrome/browser/media/router/media_router_ui_service_factory.h" | 132 #include "chrome/browser/media/router/media_router_ui_service_factory.h" |
| 132 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 133 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 133 #include "chrome/browser/usb/usb_chooser_context_factory.h" | 134 #include "chrome/browser/usb/usb_chooser_context_factory.h" |
| 134 #endif | 135 #endif |
| 135 | 136 |
| 136 #if defined(OS_WIN) | 137 #if defined(OS_WIN) |
| 137 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" | 138 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); | 306 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); |
| 306 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 307 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
| 307 predictors::PredictorDatabaseFactory::GetInstance(); | 308 predictors::PredictorDatabaseFactory::GetInstance(); |
| 308 predictors::ResourcePrefetchPredictorFactory::GetInstance(); | 309 predictors::ResourcePrefetchPredictorFactory::GetInstance(); |
| 309 prerender::PrerenderLinkManagerFactory::GetInstance(); | 310 prerender::PrerenderLinkManagerFactory::GetInstance(); |
| 310 prerender::PrerenderManagerFactory::GetInstance(); | 311 prerender::PrerenderManagerFactory::GetInstance(); |
| 311 prerender::PrerenderMessageFilter::EnsureShutdownNotifierFactoryBuilt(); | 312 prerender::PrerenderMessageFilter::EnsureShutdownNotifierFactoryBuilt(); |
| 312 ProfileSyncServiceFactory::GetInstance(); | 313 ProfileSyncServiceFactory::GetInstance(); |
| 313 ProtocolHandlerRegistryFactory::GetInstance(); | 314 ProtocolHandlerRegistryFactory::GetInstance(); |
| 314 #if defined(OS_ANDROID) | 315 #if defined(OS_ANDROID) |
| 316 offline_pages::PrefetchServiceFactory::GetInstance(); |
| 315 SearchGeolocationService::Factory::GetInstance(); | 317 SearchGeolocationService::Factory::GetInstance(); |
| 316 #endif | 318 #endif |
| 317 #if BUILDFLAG(ENABLE_SESSION_SERVICE) | 319 #if BUILDFLAG(ENABLE_SESSION_SERVICE) |
| 318 SessionServiceFactory::GetInstance(); | 320 SessionServiceFactory::GetInstance(); |
| 319 #endif | 321 #endif |
| 320 ShortcutsBackendFactory::GetInstance(); | 322 ShortcutsBackendFactory::GetInstance(); |
| 321 SigninManagerFactory::GetInstance(); | 323 SigninManagerFactory::GetInstance(); |
| 322 | 324 |
| 323 if (SiteEngagementService::IsEnabled()) | 325 if (SiteEngagementService::IsEnabled()) |
| 324 SiteEngagementServiceFactory::GetInstance(); | 326 SiteEngagementServiceFactory::GetInstance(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 337 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 339 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
| 338 #if !defined(OS_ANDROID) | 340 #if !defined(OS_ANDROID) |
| 339 UsbChooserContextFactory::GetInstance(); | 341 UsbChooserContextFactory::GetInstance(); |
| 340 #endif | 342 #endif |
| 341 WebDataServiceFactory::GetInstance(); | 343 WebDataServiceFactory::GetInstance(); |
| 342 } | 344 } |
| 343 | 345 |
| 344 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 346 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 345 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 347 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 346 } | 348 } |
| OLD | NEW |