| 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 "apps/app_keep_alive_service_factory.h" | 7 #include "apps/app_keep_alive_service_factory.h" |
| 8 #include "apps/app_load_service_factory.h" | 8 #include "apps/app_load_service_factory.h" |
| 9 #include "apps/app_restore_service_factory.h" | 9 #include "apps/app_restore_service_factory.h" |
| 10 #include "apps/shell_window_geometry_cache.h" | 10 #include "apps/shell_window_geometry_cache.h" |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 #if defined(ENABLE_MANAGED_USERS) | 135 #if defined(ENABLE_MANAGED_USERS) |
| 136 #include "chrome/browser/managed_mode/managed_user_service_factory.h" | 136 #include "chrome/browser/managed_mode/managed_user_service_factory.h" |
| 137 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h" | 137 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h" |
| 138 #endif | 138 #endif |
| 139 | 139 |
| 140 #if defined(OS_CHROMEOS) | 140 #if defined(OS_CHROMEOS) |
| 141 #include "chrome/browser/chromeos/extensions/input_method_api.h" | 141 #include "chrome/browser/chromeos/extensions/input_method_api.h" |
| 142 #include "chrome/browser/chromeos/extensions/media_player_api.h" | 142 #include "chrome/browser/chromeos/extensions/media_player_api.h" |
| 143 #include "chrome/browser/chromeos/extensions/screenlock_private_api.h" | 143 #include "chrome/browser/chromeos/extensions/screenlock_private_api.h" |
| 144 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" | 144 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" |
| 145 #if defined(FILE_MANAGER_EXTENSION) | |
| 146 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a
pi_factory.h" | 145 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a
pi_factory.h" |
| 147 #endif | 146 #endif |
| 148 #endif | |
| 149 | 147 |
| 150 #if defined(USE_AURA) | 148 #if defined(USE_AURA) |
| 151 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" | 149 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" |
| 152 #endif | 150 #endif |
| 153 | 151 |
| 154 #if defined(OS_ANDROID) | 152 #if defined(OS_ANDROID) |
| 155 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" | 153 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" |
| 156 #else | 154 #else |
| 157 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" | 155 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" |
| 158 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" | 156 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 extensions::SystemInfoAPI::GetFactoryInstance(); | 299 extensions::SystemInfoAPI::GetFactoryInstance(); |
| 302 extensions::TabCaptureRegistry::GetFactoryInstance(); | 300 extensions::TabCaptureRegistry::GetFactoryInstance(); |
| 303 extensions::TabsWindowsAPI::GetFactoryInstance(); | 301 extensions::TabsWindowsAPI::GetFactoryInstance(); |
| 304 extensions::TtsAPI::GetFactoryInstance(); | 302 extensions::TtsAPI::GetFactoryInstance(); |
| 305 extensions::WebNavigationAPI::GetFactoryInstance(); | 303 extensions::WebNavigationAPI::GetFactoryInstance(); |
| 306 extensions::WebRequestAPI::GetFactoryInstance(); | 304 extensions::WebRequestAPI::GetFactoryInstance(); |
| 307 extensions::WebrtcAudioPrivateEventService::GetFactoryInstance(); | 305 extensions::WebrtcAudioPrivateEventService::GetFactoryInstance(); |
| 308 ExtensionToolbarModelFactory::GetInstance(); | 306 ExtensionToolbarModelFactory::GetInstance(); |
| 309 #endif // defined(ENABLE_EXTENSIONS) | 307 #endif // defined(ENABLE_EXTENSIONS) |
| 310 FaviconServiceFactory::GetInstance(); | 308 FaviconServiceFactory::GetInstance(); |
| 311 #if defined(OS_CHROMEOS) && defined(FILE_MANAGER_EXTENSION) | 309 #if defined(OS_CHROMEOS) |
| 312 file_manager::FileBrowserPrivateAPIFactory::GetInstance(); | 310 file_manager::FileBrowserPrivateAPIFactory::GetInstance(); |
| 313 #endif | 311 #endif |
| 314 FindBarStateFactory::GetInstance(); | 312 FindBarStateFactory::GetInstance(); |
| 315 GAIAInfoUpdateServiceFactory::GetInstance(); | 313 GAIAInfoUpdateServiceFactory::GetInstance(); |
| 316 #if defined(USE_AURA) | 314 #if defined(USE_AURA) |
| 317 GesturePrefsObserverFactoryAura::GetInstance(); | 315 GesturePrefsObserverFactoryAura::GetInstance(); |
| 318 #endif | 316 #endif |
| 319 GlobalErrorServiceFactory::GetInstance(); | 317 GlobalErrorServiceFactory::GetInstance(); |
| 320 GoogleURLTrackerFactory::GetInstance(); | 318 GoogleURLTrackerFactory::GetInstance(); |
| 321 HistoryServiceFactory::GetInstance(); | 319 HistoryServiceFactory::GetInstance(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 #endif | 378 #endif |
| 381 #if defined(ENABLE_EXTENSIONS) | 379 #if defined(ENABLE_EXTENSIONS) |
| 382 TokenCacheServiceFactory::GetInstance(); | 380 TokenCacheServiceFactory::GetInstance(); |
| 383 #endif | 381 #endif |
| 384 WebDataServiceFactory::GetInstance(); | 382 WebDataServiceFactory::GetInstance(); |
| 385 } | 383 } |
| 386 | 384 |
| 387 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 385 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 388 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 386 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 389 } | 387 } |
| OLD | NEW |