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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 #if BUILDFLAG(ENABLE_SUPERVISED_USERS) | 112 #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
113 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_fac
tory.h" | 113 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_fac
tory.h" |
114 #include "chrome/browser/supervised_user/supervised_user_service_factory.h" | 114 #include "chrome/browser/supervised_user/supervised_user_service_factory.h" |
115 #if defined(OS_CHROMEOS) | 115 #if defined(OS_CHROMEOS) |
116 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto
ry.h" | 116 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto
ry.h" |
117 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi
ce_factory.h" | 117 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi
ce_factory.h" |
118 #endif | 118 #endif |
119 #endif | 119 #endif |
120 | 120 |
121 #if defined(OS_CHROMEOS) | 121 #if defined(OS_CHROMEOS) |
122 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" | 122 #include "chrome/browser/chromeos/printer_detector/usb_printer_detector_factory.
h" |
123 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" | 123 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" |
124 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" | 124 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" |
125 #include "chrome/browser/chromeos/tether/tether_service_factory.h" | 125 #include "chrome/browser/chromeos/tether/tether_service_factory.h" |
126 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" | 126 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" |
127 #endif | 127 #endif |
128 | 128 |
129 #if defined(OS_ANDROID) | 129 #if defined(OS_ANDROID) |
130 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" | 130 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" |
131 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" | 131 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" |
132 #else | 132 #else |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 SMSServiceFactory::GetInstance(); | 223 SMSServiceFactory::GetInstance(); |
224 #endif | 224 #endif |
225 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 225 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
226 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 226 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
227 DownloadCoreServiceFactory::GetInstance(); | 227 DownloadCoreServiceFactory::GetInstance(); |
228 #if BUILDFLAG(ENABLE_EXTENSIONS) | 228 #if BUILDFLAG(ENABLE_EXTENSIONS) |
229 EasyUnlockServiceFactory::GetInstance(); | 229 EasyUnlockServiceFactory::GetInstance(); |
230 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 230 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
231 #endif | 231 #endif |
232 #if defined(OS_CHROMEOS) | 232 #if defined(OS_CHROMEOS) |
233 chromeos::PrinterDetectorFactory::GetInstance(); | 233 chromeos::UsbPrinterDetectorFactory::GetInstance(); |
234 chromeos::CupsPrintJobManagerFactory::GetInstance(); | 234 chromeos::CupsPrintJobManagerFactory::GetInstance(); |
235 chromeos::PrintersManagerFactory::GetInstance(); | 235 chromeos::PrintersManagerFactory::GetInstance(); |
236 TetherServiceFactory::GetInstance(); | 236 TetherServiceFactory::GetInstance(); |
237 extensions::VerifyTrustAPI::GetFactoryInstance(); | 237 extensions::VerifyTrustAPI::GetFactoryInstance(); |
238 #endif | 238 #endif |
239 FaviconServiceFactory::GetInstance(); | 239 FaviconServiceFactory::GetInstance(); |
240 FindBarStateFactory::GetInstance(); | 240 FindBarStateFactory::GetInstance(); |
241 GAIAInfoUpdateServiceFactory::GetInstance(); | 241 GAIAInfoUpdateServiceFactory::GetInstance(); |
242 #if !defined(OS_ANDROID) | 242 #if !defined(OS_ANDROID) |
243 GlobalErrorServiceFactory::GetInstance(); | 243 GlobalErrorServiceFactory::GetInstance(); |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |