| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 56 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
| 57 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 57 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 58 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 58 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| 59 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 59 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 60 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 60 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| 61 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 61 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
| 62 #include "chrome/browser/web_data_service_factory.h" | 62 #include "chrome/browser/web_data_service_factory.h" |
| 63 | 63 |
| 64 #if defined(ENABLE_EXTENSIONS) | 64 #if defined(ENABLE_EXTENSIONS) |
| 65 #include "apps/browser_context_keyed_service_factories.h" | 65 #include "apps/browser_context_keyed_service_factories.h" |
| 66 #include "chrome/browser/apps/ephemeral_app_service_factory.h" | |
| 67 #include "chrome/browser/apps/shortcut_manager_factory.h" | 66 #include "chrome/browser/apps/shortcut_manager_factory.h" |
| 68 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" | 67 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" |
| 69 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" | 68 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" |
| 70 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" | 69 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" |
| 71 #include "chrome/browser/extensions/extension_management.h" | 70 #include "chrome/browser/extensions/extension_management.h" |
| 72 #include "chrome/browser/search/hotword_service_factory.h" | 71 #include "chrome/browser/search/hotword_service_factory.h" |
| 73 #include "chrome/browser/signin/easy_unlock_service_factory.h" | 72 #include "chrome/browser/signin/easy_unlock_service_factory.h" |
| 74 #include "chrome/browser/ui/bookmarks/enhanced_bookmark_key_service_factory.h" | 73 #include "chrome/browser/ui/bookmarks/enhanced_bookmark_key_service_factory.h" |
| 75 #include "extensions/browser/api/networking_private/networking_private_delegate_
factory.h" | 74 #include "extensions/browser/api/networking_private/networking_private_delegate_
factory.h" |
| 76 #include "extensions/browser/browser_context_keyed_service_factories.h" | 75 #include "extensions/browser/browser_context_keyed_service_factories.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // | 167 // |
| 169 // static | 168 // static |
| 170 void ChromeBrowserMainExtraPartsProfiles:: | 169 void ChromeBrowserMainExtraPartsProfiles:: |
| 171 EnsureBrowserContextKeyedServiceFactoriesBuilt() { | 170 EnsureBrowserContextKeyedServiceFactoriesBuilt() { |
| 172 #if defined(ENABLE_EXTENSIONS) | 171 #if defined(ENABLE_EXTENSIONS) |
| 173 apps::EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 172 apps::EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 174 extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 173 extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 175 extensions::ExtensionManagementFactory::GetInstance(); | 174 extensions::ExtensionManagementFactory::GetInstance(); |
| 176 chrome_extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 175 chrome_extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 177 AppShortcutManagerFactory::GetInstance(); | 176 AppShortcutManagerFactory::GetInstance(); |
| 178 EphemeralAppServiceFactory::GetInstance(); | |
| 179 #endif | 177 #endif |
| 180 | 178 |
| 181 #if defined(ENABLE_APP_LIST) | 179 #if defined(ENABLE_APP_LIST) |
| 182 app_list::AppListSyncableServiceFactory::GetInstance(); | 180 app_list::AppListSyncableServiceFactory::GetInstance(); |
| 183 #endif | 181 #endif |
| 184 | 182 |
| 185 AboutSigninInternalsFactory::GetInstance(); | 183 AboutSigninInternalsFactory::GetInstance(); |
| 186 AccountTrackerServiceFactory::GetInstance(); | 184 AccountTrackerServiceFactory::GetInstance(); |
| 187 AccountFetcherServiceFactory::GetInstance(); | 185 AccountFetcherServiceFactory::GetInstance(); |
| 188 autofill::PersonalDataManagerFactory::GetInstance(); | 186 autofill::PersonalDataManagerFactory::GetInstance(); |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 #endif | 336 #endif |
| 339 #if !defined(OS_ANDROID) | 337 #if !defined(OS_ANDROID) |
| 340 UsbChooserContextFactory::GetInstance(); | 338 UsbChooserContextFactory::GetInstance(); |
| 341 #endif | 339 #endif |
| 342 WebDataServiceFactory::GetInstance(); | 340 WebDataServiceFactory::GetInstance(); |
| 343 } | 341 } |
| 344 | 342 |
| 345 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 343 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 346 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 344 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 347 } | 345 } |
| OLD | NEW |