| 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 30 matching lines...) Expand all Loading... |
| 41 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 41 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
| 42 #include "chrome/browser/signin/about_signin_internals_factory.h" | 42 #include "chrome/browser/signin/about_signin_internals_factory.h" |
| 43 #include "chrome/browser/signin/account_tracker_service_factory.h" | 43 #include "chrome/browser/signin/account_tracker_service_factory.h" |
| 44 #include "chrome/browser/signin/signin_manager_factory.h" | 44 #include "chrome/browser/signin/signin_manager_factory.h" |
| 45 #include "chrome/browser/sync/profile_sync_service_factory.h" | 45 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 46 #include "chrome/browser/themes/theme_service_factory.h" | 46 #include "chrome/browser/themes/theme_service_factory.h" |
| 47 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 47 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
| 48 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 48 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
| 49 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 49 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 50 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 50 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 51 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| 51 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 52 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 52 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 53 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| 53 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 54 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
| 54 #include "chrome/browser/webdata/web_data_service_factory.h" | 55 #include "chrome/browser/webdata/web_data_service_factory.h" |
| 55 | 56 |
| 56 #if defined(ENABLE_EXTENSIONS) | 57 #if defined(ENABLE_EXTENSIONS) |
| 57 #include "apps/browser_context_keyed_service_factories.h" | 58 #include "apps/browser_context_keyed_service_factories.h" |
| 58 #include "chrome/browser/apps/ephemeral_app_service_factory.h" | 59 #include "chrome/browser/apps/ephemeral_app_service_factory.h" |
| 59 #include "chrome/browser/apps/shortcut_manager_factory.h" | 60 #include "chrome/browser/apps/shortcut_manager_factory.h" |
| 60 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" | 61 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 MediaGalleriesPreferencesFactory::GetInstance(); | 227 MediaGalleriesPreferencesFactory::GetInstance(); |
| 227 NTPResourceCacheFactory::GetInstance(); | 228 NTPResourceCacheFactory::GetInstance(); |
| 228 #endif | 229 #endif |
| 229 PasswordStoreFactory::GetInstance(); | 230 PasswordStoreFactory::GetInstance(); |
| 230 #if !defined(OS_ANDROID) | 231 #if !defined(OS_ANDROID) |
| 231 PinnedTabServiceFactory::GetInstance(); | 232 PinnedTabServiceFactory::GetInstance(); |
| 232 #endif | 233 #endif |
| 233 #if defined(ENABLE_PLUGINS) | 234 #if defined(ENABLE_PLUGINS) |
| 234 PluginPrefsFactory::GetInstance(); | 235 PluginPrefsFactory::GetInstance(); |
| 235 #endif | 236 #endif |
| 237 PrefsTabHelper::GetServiceInstance(); |
| 236 policy::ProfilePolicyConnectorFactory::GetInstance(); | 238 policy::ProfilePolicyConnectorFactory::GetInstance(); |
| 237 #if defined(ENABLE_CONFIGURATION_POLICY) | 239 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 238 #if defined(OS_CHROMEOS) | 240 #if defined(OS_CHROMEOS) |
| 239 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); | 241 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); |
| 240 policy::ConsumerEnrollmentHandlerFactory::GetInstance(); | 242 policy::ConsumerEnrollmentHandlerFactory::GetInstance(); |
| 241 policy::ConsumerManagementNotifierFactory::GetInstance(); | 243 policy::ConsumerManagementNotifierFactory::GetInstance(); |
| 242 policy::PolicyCertServiceFactory::GetInstance(); | 244 policy::PolicyCertServiceFactory::GetInstance(); |
| 243 policy::RecommendationRestorerFactory::GetInstance(); | 245 policy::RecommendationRestorerFactory::GetInstance(); |
| 244 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 246 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); |
| 245 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 247 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 276 TemplateURLServiceFactory::GetInstance(); | 278 TemplateURLServiceFactory::GetInstance(); |
| 277 #if defined(ENABLE_THEMES) | 279 #if defined(ENABLE_THEMES) |
| 278 ThemeServiceFactory::GetInstance(); | 280 ThemeServiceFactory::GetInstance(); |
| 279 #endif | 281 #endif |
| 280 WebDataServiceFactory::GetInstance(); | 282 WebDataServiceFactory::GetInstance(); |
| 281 } | 283 } |
| 282 | 284 |
| 283 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 285 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 284 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 286 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 285 } | 287 } |
| OLD | NEW |