| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
| 11 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 11 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
| 12 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 12 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 13 #include "chrome/browser/background/background_contents_service_factory.h" | 13 #include "chrome/browser/background/background_contents_service_factory.h" |
| 14 #include "chrome/browser/bluetooth/bluetooth_permission_context_factory.h" |
| 14 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 15 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" | 16 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" |
| 16 #include "chrome/browser/chrome_browser_main.h" | 17 #include "chrome/browser/chrome_browser_main.h" |
| 17 #include "chrome/browser/content_settings/cookie_settings_factory.h" | 18 #include "chrome/browser/content_settings/cookie_settings_factory.h" |
| 18 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
| 19 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 20 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
| 20 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 21 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
| 21 #include "chrome/browser/domain_reliability/service_factory.h" | 22 #include "chrome/browser/domain_reliability/service_factory.h" |
| 22 #include "chrome/browser/download/download_service_factory.h" | 23 #include "chrome/browser/download/download_service_factory.h" |
| 23 #include "chrome/browser/engagement/site_engagement_service.h" | 24 #include "chrome/browser/engagement/site_engagement_service.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 app_list::AppListSyncableServiceFactory::GetInstance(); | 181 app_list::AppListSyncableServiceFactory::GetInstance(); |
| 181 #endif | 182 #endif |
| 182 | 183 |
| 183 AboutSigninInternalsFactory::GetInstance(); | 184 AboutSigninInternalsFactory::GetInstance(); |
| 184 AccountTrackerServiceFactory::GetInstance(); | 185 AccountTrackerServiceFactory::GetInstance(); |
| 185 AccountFetcherServiceFactory::GetInstance(); | 186 AccountFetcherServiceFactory::GetInstance(); |
| 186 autofill::PersonalDataManagerFactory::GetInstance(); | 187 autofill::PersonalDataManagerFactory::GetInstance(); |
| 187 #if defined(ENABLE_BACKGROUND) | 188 #if defined(ENABLE_BACKGROUND) |
| 188 BackgroundContentsServiceFactory::GetInstance(); | 189 BackgroundContentsServiceFactory::GetInstance(); |
| 189 #endif | 190 #endif |
| 191 BluetoothPermissionContextFactory::GetInstance(); |
| 190 BookmarkModelFactory::GetInstance(); | 192 BookmarkModelFactory::GetInstance(); |
| 191 BookmarkUndoServiceFactory::GetInstance(); | 193 BookmarkUndoServiceFactory::GetInstance(); |
| 192 BrowsingDataRemoverFactory::GetInstance(); | 194 BrowsingDataRemoverFactory::GetInstance(); |
| 193 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 195 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 194 CaptivePortalServiceFactory::GetInstance(); | 196 CaptivePortalServiceFactory::GetInstance(); |
| 195 #endif | 197 #endif |
| 196 #if defined(OS_ANDROID) | 198 #if defined(OS_ANDROID) |
| 197 chrome::android::DataUseUITabModelFactory::GetInstance(); | 199 chrome::android::DataUseUITabModelFactory::GetInstance(); |
| 198 #endif | 200 #endif |
| 199 GeolocationPermissionContextFactory::GetInstance(); | 201 GeolocationPermissionContextFactory::GetInstance(); |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 #endif | 336 #endif |
| 335 #if !defined(OS_ANDROID) | 337 #if !defined(OS_ANDROID) |
| 336 UsbChooserContextFactory::GetInstance(); | 338 UsbChooserContextFactory::GetInstance(); |
| 337 #endif | 339 #endif |
| 338 WebDataServiceFactory::GetInstance(); | 340 WebDataServiceFactory::GetInstance(); |
| 339 } | 341 } |
| 340 | 342 |
| 341 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 343 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 342 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 344 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 343 } | 345 } |
| OLD | NEW |