| 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 19 matching lines...) Expand all Loading... |
| 30 #include "chrome/browser/prerender/prerender_manager_factory.h" | 30 #include "chrome/browser/prerender/prerender_manager_factory.h" |
| 31 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 31 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
| 32 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" | 32 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" |
| 33 #include "chrome/browser/search/instant_service_factory.h" | 33 #include "chrome/browser/search/instant_service_factory.h" |
| 34 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" | 34 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" |
| 35 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 35 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
| 36 #include "chrome/browser/search_engines/template_url_service_factory.h" | 36 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 37 #include "chrome/browser/sessions/session_service_factory.h" | 37 #include "chrome/browser/sessions/session_service_factory.h" |
| 38 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 38 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
| 39 #include "chrome/browser/signin/about_signin_internals_factory.h" | 39 #include "chrome/browser/signin/about_signin_internals_factory.h" |
| 40 #include "chrome/browser/signin/account_tracker_service_factory.h" |
| 40 #include "chrome/browser/signin/signin_manager_factory.h" | 41 #include "chrome/browser/signin/signin_manager_factory.h" |
| 41 #include "chrome/browser/sync/profile_sync_service_factory.h" | 42 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 42 #include "chrome/browser/themes/theme_service_factory.h" | 43 #include "chrome/browser/themes/theme_service_factory.h" |
| 43 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 44 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
| 44 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 45 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
| 45 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 46 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 46 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 47 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 47 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 48 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 48 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 49 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| 49 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 50 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 predictors::PredictorDatabaseFactory::GetInstance(); | 238 predictors::PredictorDatabaseFactory::GetInstance(); |
| 238 prerender::PrerenderManagerFactory::GetInstance(); | 239 prerender::PrerenderManagerFactory::GetInstance(); |
| 239 prerender::PrerenderLinkManagerFactory::GetInstance(); | 240 prerender::PrerenderLinkManagerFactory::GetInstance(); |
| 240 ProfileSyncServiceFactory::GetInstance(); | 241 ProfileSyncServiceFactory::GetInstance(); |
| 241 ProtocolHandlerRegistryFactory::GetInstance(); | 242 ProtocolHandlerRegistryFactory::GetInstance(); |
| 242 #if defined(ENABLE_SESSION_SERVICE) | 243 #if defined(ENABLE_SESSION_SERVICE) |
| 243 SessionServiceFactory::GetInstance(); | 244 SessionServiceFactory::GetInstance(); |
| 244 #endif | 245 #endif |
| 245 ShortcutsBackendFactory::GetInstance(); | 246 ShortcutsBackendFactory::GetInstance(); |
| 246 SigninManagerFactory::GetInstance(); | 247 SigninManagerFactory::GetInstance(); |
| 248 AccountTrackerServiceFactory::GetInstance(); |
| 247 #if defined(ENABLE_SPELLCHECK) | 249 #if defined(ENABLE_SPELLCHECK) |
| 248 SpellcheckServiceFactory::GetInstance(); | 250 SpellcheckServiceFactory::GetInstance(); |
| 249 #endif | 251 #endif |
| 250 suggestions::SuggestionsServiceFactory::GetInstance(); | 252 suggestions::SuggestionsServiceFactory::GetInstance(); |
| 251 ThumbnailServiceFactory::GetInstance(); | 253 ThumbnailServiceFactory::GetInstance(); |
| 252 TabRestoreServiceFactory::GetInstance(); | 254 TabRestoreServiceFactory::GetInstance(); |
| 253 TemplateURLFetcherFactory::GetInstance(); | 255 TemplateURLFetcherFactory::GetInstance(); |
| 254 TemplateURLServiceFactory::GetInstance(); | 256 TemplateURLServiceFactory::GetInstance(); |
| 255 #if defined(ENABLE_THEMES) | 257 #if defined(ENABLE_THEMES) |
| 256 ThemeServiceFactory::GetInstance(); | 258 ThemeServiceFactory::GetInstance(); |
| 257 #endif | 259 #endif |
| 258 WebDataServiceFactory::GetInstance(); | 260 WebDataServiceFactory::GetInstance(); |
| 259 } | 261 } |
| 260 | 262 |
| 261 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 263 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 262 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 264 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 263 } | 265 } |
| OLD | NEW |