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 #if !defined(OS_ANDROID) |
| 228 SMSServiceFactory::GetInstance(); |
| 229 #endif |
226 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 230 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
227 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 231 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
228 DownloadServiceFactory::GetInstance(); | 232 DownloadServiceFactory::GetInstance(); |
229 #if BUILDFLAG(ENABLE_EXTENSIONS) | 233 #if BUILDFLAG(ENABLE_EXTENSIONS) |
230 EasyUnlockServiceFactory::GetInstance(); | 234 EasyUnlockServiceFactory::GetInstance(); |
231 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 235 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
232 #endif | 236 #endif |
233 #if defined(OS_CHROMEOS) | 237 #if defined(OS_CHROMEOS) |
234 chromeos::PrinterDetectorFactory::GetInstance(); | 238 chromeos::PrinterDetectorFactory::GetInstance(); |
235 chromeos::CupsPrintJobManagerFactory::GetInstance(); | 239 chromeos::CupsPrintJobManagerFactory::GetInstance(); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 #endif | 352 #endif |
349 #if !defined(OS_ANDROID) | 353 #if !defined(OS_ANDROID) |
350 UsbChooserContextFactory::GetInstance(); | 354 UsbChooserContextFactory::GetInstance(); |
351 #endif | 355 #endif |
352 WebDataServiceFactory::GetInstance(); | 356 WebDataServiceFactory::GetInstance(); |
353 } | 357 } |
354 | 358 |
355 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 359 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
356 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 360 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
357 } | 361 } |
OLD | NEW |