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_load_service_factory.h" | 7 #include "apps/app_load_service_factory.h" |
8 #include "apps/app_restore_service_factory.h" | 8 #include "apps/app_restore_service_factory.h" |
9 #include "apps/app_window_geometry_cache.h" | 9 #include "apps/app_window_geometry_cache.h" |
10 #include "chrome/browser/apps/ephemeral_app_service_factory.h" | 10 #include "chrome/browser/apps/ephemeral_app_service_factory.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/notifications/sync_notifier/synced_notification_app_inf
o_service_factory.h" | 166 #include "chrome/browser/notifications/sync_notifier/synced_notification_app_inf
o_service_factory.h" |
167 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 167 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
168 #endif | 168 #endif |
169 | 169 |
170 #if defined(ENABLE_SPELLCHECK) | 170 #if defined(ENABLE_SPELLCHECK) |
171 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h" | 171 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h" |
172 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 172 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
173 #endif | 173 #endif |
174 | 174 |
175 #if defined(ENABLE_MDNS) | 175 #if defined(ENABLE_SERVICE_DISCOVERY) |
176 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 176 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
177 #endif | 177 #endif |
178 | 178 |
179 namespace chrome { | 179 namespace chrome { |
180 | 180 |
181 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts) { | 181 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts) { |
182 main_parts->AddParts(new ChromeBrowserMainExtraPartsProfiles()); | 182 main_parts->AddParts(new ChromeBrowserMainExtraPartsProfiles()); |
183 } | 183 } |
184 | 184 |
185 } // namespace chrome | 185 } // namespace chrome |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 GAIAInfoUpdateServiceFactory::GetInstance(); | 329 GAIAInfoUpdateServiceFactory::GetInstance(); |
330 #if defined(USE_AURA) | 330 #if defined(USE_AURA) |
331 GesturePrefsObserverFactoryAura::GetInstance(); | 331 GesturePrefsObserverFactoryAura::GetInstance(); |
332 #endif | 332 #endif |
333 GlobalErrorServiceFactory::GetInstance(); | 333 GlobalErrorServiceFactory::GetInstance(); |
334 GoogleURLTrackerFactory::GetInstance(); | 334 GoogleURLTrackerFactory::GetInstance(); |
335 HistoryServiceFactory::GetInstance(); | 335 HistoryServiceFactory::GetInstance(); |
336 HotwordServiceFactory::GetInstance(); | 336 HotwordServiceFactory::GetInstance(); |
337 invalidation::InvalidationServiceFactory::GetInstance(); | 337 invalidation::InvalidationServiceFactory::GetInstance(); |
338 InstantServiceFactory::GetInstance(); | 338 InstantServiceFactory::GetInstance(); |
339 #if defined(ENABLE_MDNS) | 339 #if defined(ENABLE_SERVICE_DISCOVERY) |
340 local_discovery::PrivetNotificationServiceFactory::GetInstance(); | 340 local_discovery::PrivetNotificationServiceFactory::GetInstance(); |
341 #endif | 341 #endif |
342 #if defined(ENABLE_MANAGED_USERS) | 342 #if defined(ENABLE_MANAGED_USERS) |
343 ManagedUserServiceFactory::GetInstance(); | 343 ManagedUserServiceFactory::GetInstance(); |
344 ManagedUserSyncServiceFactory::GetInstance(); | 344 ManagedUserSyncServiceFactory::GetInstance(); |
345 #if defined(OS_CHROMEOS) | 345 #if defined(OS_CHROMEOS) |
346 ManagedUserPasswordServiceFactory::GetInstance(); | 346 ManagedUserPasswordServiceFactory::GetInstance(); |
347 ManagerPasswordServiceFactory::GetInstance(); | 347 ManagerPasswordServiceFactory::GetInstance(); |
348 #endif | 348 #endif |
349 #endif | 349 #endif |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 #endif | 401 #endif |
402 #if defined(ENABLE_EXTENSIONS) | 402 #if defined(ENABLE_EXTENSIONS) |
403 TokenCacheServiceFactory::GetInstance(); | 403 TokenCacheServiceFactory::GetInstance(); |
404 #endif | 404 #endif |
405 WebDataServiceFactory::GetInstance(); | 405 WebDataServiceFactory::GetInstance(); |
406 } | 406 } |
407 | 407 |
408 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 408 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
409 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 409 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
410 } | 410 } |
OLD | NEW |