| 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/shortcuts_backend_factory.h" | 7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
| 8 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 8 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 9 #include "chrome/browser/background/background_contents_service_factory.h" | 9 #include "chrome/browser/background/background_contents_service_factory.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" | 96 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" |
| 97 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" | 97 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" |
| 98 #include "chrome/browser/notifications/sync_notifier/synced_notification_app_inf
o_service_factory.h" | 98 #include "chrome/browser/notifications/sync_notifier/synced_notification_app_inf
o_service_factory.h" |
| 99 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 99 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
| 100 #endif | 100 #endif |
| 101 | 101 |
| 102 #if defined(ENABLE_SPELLCHECK) | 102 #if defined(ENABLE_SPELLCHECK) |
| 103 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 103 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
| 104 #endif | 104 #endif |
| 105 | 105 |
| 106 #if defined(ENABLE_MDNS) | 106 #if defined(ENABLE_SERVICE_DISCOVERY) |
| 107 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 107 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
| 108 #endif | 108 #endif |
| 109 | 109 |
| 110 namespace chrome { | 110 namespace chrome { |
| 111 | 111 |
| 112 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts) { | 112 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts) { |
| 113 main_parts->AddParts(new ChromeBrowserMainExtraPartsProfiles()); | 113 main_parts->AddParts(new ChromeBrowserMainExtraPartsProfiles()); |
| 114 } | 114 } |
| 115 | 115 |
| 116 } // namespace chrome | 116 } // namespace chrome |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 GAIAInfoUpdateServiceFactory::GetInstance(); | 176 GAIAInfoUpdateServiceFactory::GetInstance(); |
| 177 #if defined(USE_AURA) | 177 #if defined(USE_AURA) |
| 178 GesturePrefsObserverFactoryAura::GetInstance(); | 178 GesturePrefsObserverFactoryAura::GetInstance(); |
| 179 #endif | 179 #endif |
| 180 GlobalErrorServiceFactory::GetInstance(); | 180 GlobalErrorServiceFactory::GetInstance(); |
| 181 GoogleURLTrackerFactory::GetInstance(); | 181 GoogleURLTrackerFactory::GetInstance(); |
| 182 HistoryServiceFactory::GetInstance(); | 182 HistoryServiceFactory::GetInstance(); |
| 183 HotwordServiceFactory::GetInstance(); | 183 HotwordServiceFactory::GetInstance(); |
| 184 invalidation::InvalidationServiceFactory::GetInstance(); | 184 invalidation::InvalidationServiceFactory::GetInstance(); |
| 185 InstantServiceFactory::GetInstance(); | 185 InstantServiceFactory::GetInstance(); |
| 186 #if defined(ENABLE_MDNS) | 186 #if defined(ENABLE_SERVICE_DISCOVERY) |
| 187 local_discovery::PrivetNotificationServiceFactory::GetInstance(); | 187 local_discovery::PrivetNotificationServiceFactory::GetInstance(); |
| 188 #endif | 188 #endif |
| 189 #if defined(ENABLE_MANAGED_USERS) | 189 #if defined(ENABLE_MANAGED_USERS) |
| 190 ManagedUserServiceFactory::GetInstance(); | 190 ManagedUserServiceFactory::GetInstance(); |
| 191 ManagedUserSyncServiceFactory::GetInstance(); | 191 ManagedUserSyncServiceFactory::GetInstance(); |
| 192 #if defined(OS_CHROMEOS) | 192 #if defined(OS_CHROMEOS) |
| 193 ManagedUserPasswordServiceFactory::GetInstance(); | 193 ManagedUserPasswordServiceFactory::GetInstance(); |
| 194 ManagerPasswordServiceFactory::GetInstance(); | 194 ManagerPasswordServiceFactory::GetInstance(); |
| 195 #endif | 195 #endif |
| 196 #endif | 196 #endif |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 TemplateURLServiceFactory::GetInstance(); | 245 TemplateURLServiceFactory::GetInstance(); |
| 246 #if defined(ENABLE_THEMES) | 246 #if defined(ENABLE_THEMES) |
| 247 ThemeServiceFactory::GetInstance(); | 247 ThemeServiceFactory::GetInstance(); |
| 248 #endif | 248 #endif |
| 249 WebDataServiceFactory::GetInstance(); | 249 WebDataServiceFactory::GetInstance(); |
| 250 } | 250 } |
| 251 | 251 |
| 252 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 252 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 253 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 253 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 254 } | 254 } |
| OLD | NEW |