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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 chrome::android::DataUseUITabModelFactory::GetInstance(); | 207 chrome::android::DataUseUITabModelFactory::GetInstance(); |
208 #endif | 208 #endif |
209 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 209 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
210 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 210 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
211 CloudPrintProxyServiceFactory::GetInstance(); | 211 CloudPrintProxyServiceFactory::GetInstance(); |
212 #endif | 212 #endif |
213 CookieSettingsFactory::GetInstance(); | 213 CookieSettingsFactory::GetInstance(); |
214 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) | 214 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) |
215 CrossDevicePromoFactory::GetInstance(); | 215 CrossDevicePromoFactory::GetInstance(); |
216 #endif | 216 #endif |
217 #if defined(ENABLE_NOTIFICATIONS) | |
218 #if BUILDFLAG(ENABLE_EXTENSIONS) | 217 #if BUILDFLAG(ENABLE_EXTENSIONS) |
219 ExtensionWelcomeNotificationFactory::GetInstance(); | 218 ExtensionWelcomeNotificationFactory::GetInstance(); |
220 #endif | 219 #endif |
221 NotifierStateTrackerFactory::GetInstance(); | 220 NotifierStateTrackerFactory::GetInstance(); |
222 #endif // defined(ENABLE_NOTIFICATIONS) | |
223 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); | 221 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); |
224 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 222 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
225 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 223 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
226 DownloadServiceFactory::GetInstance(); | 224 DownloadServiceFactory::GetInstance(); |
227 #if BUILDFLAG(ENABLE_EXTENSIONS) | 225 #if BUILDFLAG(ENABLE_EXTENSIONS) |
228 EasyUnlockServiceFactory::GetInstance(); | 226 EasyUnlockServiceFactory::GetInstance(); |
229 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 227 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
230 #endif | 228 #endif |
231 #if defined(OS_CHROMEOS) | 229 #if defined(OS_CHROMEOS) |
232 chromeos::PrinterDetectorFactory::GetInstance(); | 230 chromeos::PrinterDetectorFactory::GetInstance(); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 #endif | 342 #endif |
345 #if !defined(OS_ANDROID) | 343 #if !defined(OS_ANDROID) |
346 UsbChooserContextFactory::GetInstance(); | 344 UsbChooserContextFactory::GetInstance(); |
347 #endif | 345 #endif |
348 WebDataServiceFactory::GetInstance(); | 346 WebDataServiceFactory::GetInstance(); |
349 } | 347 } |
350 | 348 |
351 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
352 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
353 } | 351 } |
OLD | NEW |