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 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto
ry.h" | 112 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto
ry.h" |
113 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi
ce_factory.h" | 113 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi
ce_factory.h" |
114 #endif | 114 #endif |
115 #endif | 115 #endif |
116 | 116 |
117 #if defined(OS_CHROMEOS) | 117 #if defined(OS_CHROMEOS) |
118 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" | 118 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" |
119 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" | 119 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" |
120 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" | 120 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" |
121 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" | 121 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" |
| 122 #include "chrome/browser/tether/tether_service_factory.h" |
122 #endif | 123 #endif |
123 | 124 |
124 #if defined(OS_ANDROID) | 125 #if defined(OS_ANDROID) |
125 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" | 126 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" |
126 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" | 127 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" |
127 #else | 128 #else |
128 #include "chrome/browser/cryptauth/chrome_cryptauth_service_factory.h" | 129 #include "chrome/browser/cryptauth/chrome_cryptauth_service_factory.h" |
129 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 130 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
130 #include "chrome/browser/usb/usb_chooser_context_factory.h" | 131 #include "chrome/browser/usb/usb_chooser_context_factory.h" |
131 #endif | 132 #endif |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 228 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
228 DownloadServiceFactory::GetInstance(); | 229 DownloadServiceFactory::GetInstance(); |
229 #if BUILDFLAG(ENABLE_EXTENSIONS) | 230 #if BUILDFLAG(ENABLE_EXTENSIONS) |
230 EasyUnlockServiceFactory::GetInstance(); | 231 EasyUnlockServiceFactory::GetInstance(); |
231 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 232 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
232 #endif | 233 #endif |
233 #if defined(OS_CHROMEOS) | 234 #if defined(OS_CHROMEOS) |
234 chromeos::PrinterDetectorFactory::GetInstance(); | 235 chromeos::PrinterDetectorFactory::GetInstance(); |
235 chromeos::CupsPrintJobManagerFactory::GetInstance(); | 236 chromeos::CupsPrintJobManagerFactory::GetInstance(); |
236 chromeos::PrintersManagerFactory::GetInstance(); | 237 chromeos::PrintersManagerFactory::GetInstance(); |
| 238 TetherServiceFactory::GetInstance(); |
237 extensions::VerifyTrustAPI::GetFactoryInstance(); | 239 extensions::VerifyTrustAPI::GetFactoryInstance(); |
238 #endif | 240 #endif |
239 FaviconServiceFactory::GetInstance(); | 241 FaviconServiceFactory::GetInstance(); |
240 FindBarStateFactory::GetInstance(); | 242 FindBarStateFactory::GetInstance(); |
241 GAIAInfoUpdateServiceFactory::GetInstance(); | 243 GAIAInfoUpdateServiceFactory::GetInstance(); |
242 #if !defined(OS_ANDROID) | 244 #if !defined(OS_ANDROID) |
243 GlobalErrorServiceFactory::GetInstance(); | 245 GlobalErrorServiceFactory::GetInstance(); |
244 #endif | 246 #endif |
245 GoogleURLTrackerFactory::GetInstance(); | 247 GoogleURLTrackerFactory::GetInstance(); |
246 HistoryServiceFactory::GetInstance(); | 248 HistoryServiceFactory::GetInstance(); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 #endif | 344 #endif |
343 #if !defined(OS_ANDROID) | 345 #if !defined(OS_ANDROID) |
344 UsbChooserContextFactory::GetInstance(); | 346 UsbChooserContextFactory::GetInstance(); |
345 #endif | 347 #endif |
346 WebDataServiceFactory::GetInstance(); | 348 WebDataServiceFactory::GetInstance(); |
347 } | 349 } |
348 | 350 |
349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 351 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 352 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
351 } | 353 } |
OLD | NEW |