| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 chrome_extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 143 chrome_extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 143 AppShortcutManagerFactory::GetInstance(); | 144 AppShortcutManagerFactory::GetInstance(); |
| 144 EphemeralAppServiceFactory::GetInstance(); | 145 EphemeralAppServiceFactory::GetInstance(); |
| 145 #endif | 146 #endif |
| 146 | 147 |
| 147 #if defined(ENABLE_APP_LIST) | 148 #if defined(ENABLE_APP_LIST) |
| 148 app_list::AppListSyncableServiceFactory::GetInstance(); | 149 app_list::AppListSyncableServiceFactory::GetInstance(); |
| 149 #endif | 150 #endif |
| 150 | 151 |
| 151 AboutSigninInternalsFactory::GetInstance(); | 152 AboutSigninInternalsFactory::GetInstance(); |
| 153 AccountTrackerServiceFactory::GetInstance(); |
| 152 autofill::PersonalDataManagerFactory::GetInstance(); | 154 autofill::PersonalDataManagerFactory::GetInstance(); |
| 153 #if defined(ENABLE_BACKGROUND) | 155 #if defined(ENABLE_BACKGROUND) |
| 154 BackgroundContentsServiceFactory::GetInstance(); | 156 BackgroundContentsServiceFactory::GetInstance(); |
| 155 #endif | 157 #endif |
| 156 BookmarkModelFactory::GetInstance(); | 158 BookmarkModelFactory::GetInstance(); |
| 157 #if !defined(OS_ANDROID) | 159 #if !defined(OS_ANDROID) |
| 158 BookmarkUndoServiceFactory::GetInstance(); | 160 BookmarkUndoServiceFactory::GetInstance(); |
| 159 #endif | 161 #endif |
| 160 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 162 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 161 CaptivePortalServiceFactory::GetInstance(); | 163 CaptivePortalServiceFactory::GetInstance(); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |