Chromium Code Reviews| 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 "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 7 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
| 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
| 9 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 9 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 10 #include "chrome/browser/background/background_contents_service_factory.h" | 10 #include "chrome/browser/background/background_contents_service_factory.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 116 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" | 116 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" |
| 117 #else | 117 #else |
| 118 #include "chrome/browser/signin/cross_device_promo_factory.h" | 118 #include "chrome/browser/signin/cross_device_promo_factory.h" |
| 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/printer_detector_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" | |
| 128 #else | |
| 127 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 129 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 128 #include "chrome/browser/usb/usb_chooser_context_factory.h" | 130 #include "chrome/browser/usb/usb_chooser_context_factory.h" |
| 129 #endif | 131 #endif |
| 130 | 132 |
| 131 #if defined(OS_WIN) | 133 #if defined(OS_WIN) |
| 132 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" | 134 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" |
| 133 #endif | 135 #endif |
| 134 | 136 |
| 135 #if defined(ENABLE_SPELLCHECK) | 137 #if defined(ENABLE_SPELLCHECK) |
| 136 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 138 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 220 #if defined(OS_CHROMEOS) | 222 #if defined(OS_CHROMEOS) |
| 221 chromeos::PrinterDetectorFactory::GetInstance(); | 223 chromeos::PrinterDetectorFactory::GetInstance(); |
| 222 extensions::VerifyTrustAPI::GetFactoryInstance(); | 224 extensions::VerifyTrustAPI::GetFactoryInstance(); |
| 223 #endif | 225 #endif |
| 224 FaviconServiceFactory::GetInstance(); | 226 FaviconServiceFactory::GetInstance(); |
| 225 FindBarStateFactory::GetInstance(); | 227 FindBarStateFactory::GetInstance(); |
| 226 GAIAInfoUpdateServiceFactory::GetInstance(); | 228 GAIAInfoUpdateServiceFactory::GetInstance(); |
| 227 #if defined(USE_AURA) | 229 #if defined(USE_AURA) |
| 228 GesturePrefsObserverFactoryAura::GetInstance(); | 230 GesturePrefsObserverFactoryAura::GetInstance(); |
| 229 #endif | 231 #endif |
| 230 #if !defined(OS_ANDROID) | 232 #if defined(OS_ANDROID) |
| 233 chrome::android::DataUseUITabModelFactory::GetInstance(); | |
| 234 #else | |
|
mmenke
2015/12/01 20:21:45
nit: A not insignificant subset of these are in a
tbansal1
2015/12/01 20:46:10
Done.
| |
| 231 GlobalErrorServiceFactory::GetInstance(); | 235 GlobalErrorServiceFactory::GetInstance(); |
| 232 #endif | 236 #endif |
| 233 GoogleURLTrackerFactory::GetInstance(); | 237 GoogleURLTrackerFactory::GetInstance(); |
| 234 HistoryServiceFactory::GetInstance(); | 238 HistoryServiceFactory::GetInstance(); |
| 235 #if defined(ENABLE_EXTENSIONS) | 239 #if defined(ENABLE_EXTENSIONS) |
| 236 HotwordServiceFactory::GetInstance(); | 240 HotwordServiceFactory::GetInstance(); |
| 237 #endif | 241 #endif |
| 238 HostContentSettingsMapFactory::GetInstance(); | 242 HostContentSettingsMapFactory::GetInstance(); |
| 239 InMemoryURLIndexFactory::GetInstance(); | 243 InMemoryURLIndexFactory::GetInstance(); |
| 240 invalidation::ProfileInvalidationProviderFactory::GetInstance(); | 244 invalidation::ProfileInvalidationProviderFactory::GetInstance(); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 333 #endif | 337 #endif |
| 334 #if !defined(OS_ANDROID) | 338 #if !defined(OS_ANDROID) |
| 335 UsbChooserContextFactory::GetInstance(); | 339 UsbChooserContextFactory::GetInstance(); |
| 336 #endif | 340 #endif |
| 337 WebDataServiceFactory::GetInstance(); | 341 WebDataServiceFactory::GetInstance(); |
| 338 } | 342 } |
| 339 | 343 |
| 340 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 344 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 341 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 345 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 342 } | 346 } |
| OLD | NEW |