| 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 <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 57 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
| 58 #include "chrome/browser/signin/about_signin_internals_factory.h" | 58 #include "chrome/browser/signin/about_signin_internals_factory.h" |
| 59 #include "chrome/browser/signin/account_fetcher_service_factory.h" | 59 #include "chrome/browser/signin/account_fetcher_service_factory.h" |
| 60 #include "chrome/browser/signin/account_investigator_factory.h" | 60 #include "chrome/browser/signin/account_investigator_factory.h" |
| 61 #include "chrome/browser/signin/account_tracker_service_factory.h" | 61 #include "chrome/browser/signin/account_tracker_service_factory.h" |
| 62 #include "chrome/browser/signin/signin_manager_factory.h" | 62 #include "chrome/browser/signin/signin_manager_factory.h" |
| 63 #include "chrome/browser/sync/profile_sync_service_factory.h" | 63 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 64 #include "chrome/browser/themes/theme_service_factory.h" | 64 #include "chrome/browser/themes/theme_service_factory.h" |
| 65 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 65 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
| 66 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 66 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
| 67 #include "chrome/browser/ui/desktop_ios_promotion/sms_service_factory.h" |
| 67 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 68 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 68 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 69 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| 69 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 70 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 70 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 71 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| 71 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 72 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
| 72 #include "chrome/browser/web_data_service_factory.h" | 73 #include "chrome/browser/web_data_service_factory.h" |
| 73 #include "chrome/common/features.h" | 74 #include "chrome/common/features.h" |
| 74 #include "components/spellcheck/spellcheck_build_features.h" | 75 #include "components/spellcheck/spellcheck_build_features.h" |
| 75 #include "extensions/features/features.h" | 76 #include "extensions/features/features.h" |
| 76 #include "ppapi/features/features.h" | 77 #include "ppapi/features/features.h" |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 #endif | 217 #endif |
| 217 CookieSettingsFactory::GetInstance(); | 218 CookieSettingsFactory::GetInstance(); |
| 218 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) | 219 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) |
| 219 CrossDevicePromoFactory::GetInstance(); | 220 CrossDevicePromoFactory::GetInstance(); |
| 220 #endif | 221 #endif |
| 221 #if BUILDFLAG(ENABLE_EXTENSIONS) | 222 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 222 ExtensionWelcomeNotificationFactory::GetInstance(); | 223 ExtensionWelcomeNotificationFactory::GetInstance(); |
| 223 #endif | 224 #endif |
| 224 NotifierStateTrackerFactory::GetInstance(); | 225 NotifierStateTrackerFactory::GetInstance(); |
| 225 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); | 226 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); |
| 227 DesktopIOSPromotion::SMSServiceFactory::GetInstance(); |
| 226 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 228 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
| 227 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 229 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
| 228 DownloadServiceFactory::GetInstance(); | 230 DownloadServiceFactory::GetInstance(); |
| 229 #if BUILDFLAG(ENABLE_EXTENSIONS) | 231 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 230 EasyUnlockServiceFactory::GetInstance(); | 232 EasyUnlockServiceFactory::GetInstance(); |
| 231 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 233 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
| 232 #endif | 234 #endif |
| 233 #if defined(OS_CHROMEOS) | 235 #if defined(OS_CHROMEOS) |
| 234 chromeos::PrinterDetectorFactory::GetInstance(); | 236 chromeos::PrinterDetectorFactory::GetInstance(); |
| 235 chromeos::CupsPrintJobManagerFactory::GetInstance(); | 237 chromeos::CupsPrintJobManagerFactory::GetInstance(); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 #endif | 350 #endif |
| 349 #if !defined(OS_ANDROID) | 351 #if !defined(OS_ANDROID) |
| 350 UsbChooserContextFactory::GetInstance(); | 352 UsbChooserContextFactory::GetInstance(); |
| 351 #endif | 353 #endif |
| 352 WebDataServiceFactory::GetInstance(); | 354 WebDataServiceFactory::GetInstance(); |
| 353 } | 355 } |
| 354 | 356 |
| 355 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 357 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 356 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 358 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 357 } | 359 } |
| OLD | NEW |