| 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/in_memory_url_index_factory.h" | 7 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
| 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
| 9 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 9 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 10 #include "chrome/browser/background/background_contents_service_factory.h" | 10 #include "chrome/browser/background/background_contents_service_factory.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 36 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
| 37 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" | 37 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" |
| 38 #include "chrome/browser/search/instant_service_factory.h" | 38 #include "chrome/browser/search/instant_service_factory.h" |
| 39 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" | 39 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" |
| 40 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 40 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
| 41 #include "chrome/browser/search_engines/template_url_service_factory.h" | 41 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 42 #include "chrome/browser/sessions/session_service_factory.h" | 42 #include "chrome/browser/sessions/session_service_factory.h" |
| 43 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 43 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
| 44 #include "chrome/browser/signin/about_signin_internals_factory.h" | 44 #include "chrome/browser/signin/about_signin_internals_factory.h" |
| 45 #include "chrome/browser/signin/account_tracker_service_factory.h" | 45 #include "chrome/browser/signin/account_tracker_service_factory.h" |
| 46 #include "chrome/browser/signin/cross_device_promo_factory.h" |
| 46 #include "chrome/browser/signin/signin_manager_factory.h" | 47 #include "chrome/browser/signin/signin_manager_factory.h" |
| 47 #include "chrome/browser/sync/profile_sync_service_factory.h" | 48 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 48 #include "chrome/browser/themes/theme_service_factory.h" | 49 #include "chrome/browser/themes/theme_service_factory.h" |
| 49 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 50 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
| 50 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 51 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
| 51 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 52 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 52 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 53 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 53 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 54 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| 54 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 55 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 55 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 56 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 CaptivePortalServiceFactory::GetInstance(); | 180 CaptivePortalServiceFactory::GetInstance(); |
| 180 #endif | 181 #endif |
| 181 GeolocationPermissionContextFactory::GetInstance(); | 182 GeolocationPermissionContextFactory::GetInstance(); |
| 182 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) | 183 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) |
| 183 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); | 184 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); |
| 184 #endif | 185 #endif |
| 185 #if defined(ENABLE_PRINT_PREVIEW) | 186 #if defined(ENABLE_PRINT_PREVIEW) |
| 186 CloudPrintProxyServiceFactory::GetInstance(); | 187 CloudPrintProxyServiceFactory::GetInstance(); |
| 187 #endif | 188 #endif |
| 188 CookieSettings::Factory::GetInstance(); | 189 CookieSettings::Factory::GetInstance(); |
| 190 CrossDevicePromoFactory::GetInstance(); |
| 189 #if defined(ENABLE_NOTIFICATIONS) | 191 #if defined(ENABLE_NOTIFICATIONS) |
| 190 DesktopNotificationServiceFactory::GetInstance(); | 192 DesktopNotificationServiceFactory::GetInstance(); |
| 191 #endif | 193 #endif |
| 192 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 194 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
| 193 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 195 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
| 194 DownloadServiceFactory::GetInstance(); | 196 DownloadServiceFactory::GetInstance(); |
| 195 #if defined(ENABLE_EXTENSIONS) | 197 #if defined(ENABLE_EXTENSIONS) |
| 196 EasyUnlockServiceFactory::GetInstance(); | 198 EasyUnlockServiceFactory::GetInstance(); |
| 197 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 199 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
| 198 #endif | 200 #endif |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 TemplateURLServiceFactory::GetInstance(); | 294 TemplateURLServiceFactory::GetInstance(); |
| 293 #if defined(ENABLE_THEMES) | 295 #if defined(ENABLE_THEMES) |
| 294 ThemeServiceFactory::GetInstance(); | 296 ThemeServiceFactory::GetInstance(); |
| 295 #endif | 297 #endif |
| 296 WebDataServiceFactory::GetInstance(); | 298 WebDataServiceFactory::GetInstance(); |
| 297 } | 299 } |
| 298 | 300 |
| 299 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 301 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 300 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 302 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 301 } | 303 } |
| OLD | NEW |