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 "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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 159 #endif | 159 #endif |
| 160 | 160 |
| 161 #if defined(OS_ANDROID) | 161 #if defined(OS_ANDROID) |
| 162 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" | 162 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" |
| 163 #else | 163 #else |
| 164 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" | 164 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" |
| 165 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" | 165 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" |
| 166 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 166 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
| 167 #endif | 167 #endif |
| 168 | 168 |
| 169 #if defined(ENABLE_APP_LIST) | |
| 170 #include "chrome/browser/ui/app_list/start_page_service_factory.h" | |
| 171 #endif | |
| 172 | |
| 169 #if defined(ENABLE_SPELLCHECK) | 173 #if defined(ENABLE_SPELLCHECK) |
| 170 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h" | 174 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h" |
| 171 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 175 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
| 172 #endif | 176 #endif |
| 173 | 177 |
| 174 #if defined(ENABLE_MDNS) | 178 #if defined(ENABLE_MDNS) |
| 175 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 179 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
| 176 #endif | 180 #endif |
| 177 | 181 |
| 178 namespace chrome { | 182 namespace chrome { |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 325 #endif | 329 #endif |
| 326 FindBarStateFactory::GetInstance(); | 330 FindBarStateFactory::GetInstance(); |
| 327 GAIAInfoUpdateServiceFactory::GetInstance(); | 331 GAIAInfoUpdateServiceFactory::GetInstance(); |
| 328 #if defined(USE_AURA) | 332 #if defined(USE_AURA) |
| 329 GesturePrefsObserverFactoryAura::GetInstance(); | 333 GesturePrefsObserverFactoryAura::GetInstance(); |
| 330 #endif | 334 #endif |
| 331 GlobalErrorServiceFactory::GetInstance(); | 335 GlobalErrorServiceFactory::GetInstance(); |
| 332 GoogleURLTrackerFactory::GetInstance(); | 336 GoogleURLTrackerFactory::GetInstance(); |
| 333 HistoryServiceFactory::GetInstance(); | 337 HistoryServiceFactory::GetInstance(); |
| 334 HotwordServiceFactory::GetInstance(); | 338 HotwordServiceFactory::GetInstance(); |
| 339 #if defined(ENABLE_APP_LIST) | |
|
rpetterson
2014/02/09 18:27:19
Services should be listed here alphabetically so t
Jun Mukai
2014/02/10 20:50:37
Done.
| |
| 340 app_list::StartPageServiceFactory::GetInstance(); | |
| 341 #endif | |
| 335 invalidation::InvalidationServiceFactory::GetInstance(); | 342 invalidation::InvalidationServiceFactory::GetInstance(); |
| 336 InstantServiceFactory::GetInstance(); | 343 InstantServiceFactory::GetInstance(); |
| 337 #if defined(ENABLE_MDNS) | 344 #if defined(ENABLE_MDNS) |
| 338 local_discovery::PrivetNotificationServiceFactory::GetInstance(); | 345 local_discovery::PrivetNotificationServiceFactory::GetInstance(); |
| 339 #endif | 346 #endif |
| 340 #if defined(ENABLE_MANAGED_USERS) | 347 #if defined(ENABLE_MANAGED_USERS) |
| 341 ManagedUserServiceFactory::GetInstance(); | 348 ManagedUserServiceFactory::GetInstance(); |
| 342 ManagedUserSyncServiceFactory::GetInstance(); | 349 ManagedUserSyncServiceFactory::GetInstance(); |
| 343 #if defined(OS_CHROMEOS) | 350 #if defined(OS_CHROMEOS) |
| 344 ManagedUserPasswordServiceFactory::GetInstance(); | 351 ManagedUserPasswordServiceFactory::GetInstance(); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 398 #endif | 405 #endif |
| 399 #if defined(ENABLE_EXTENSIONS) | 406 #if defined(ENABLE_EXTENSIONS) |
| 400 TokenCacheServiceFactory::GetInstance(); | 407 TokenCacheServiceFactory::GetInstance(); |
| 401 #endif | 408 #endif |
| 402 WebDataServiceFactory::GetInstance(); | 409 WebDataServiceFactory::GetInstance(); |
| 403 } | 410 } |
| 404 | 411 |
| 405 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 412 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 406 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 413 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 407 } | 414 } |
| OLD | NEW |