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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 #endif | 105 #endif |
106 | 106 |
107 #if defined(USE_AURA) | 107 #if defined(USE_AURA) |
108 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" | 108 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" |
109 #endif | 109 #endif |
110 | 110 |
111 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) | 111 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) |
112 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" | 112 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" |
113 #endif | 113 #endif |
114 | 114 |
| 115 #if !defined(OS_ANDROID) && !defined(OS_IOS) && !defined(OS_CHROMEOS) |
| 116 #include "chrome/browser/signin/cross_device_promo_factory.h" |
| 117 #endif |
| 118 |
115 #if !defined(OS_ANDROID) | 119 #if !defined(OS_ANDROID) |
116 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 120 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
117 #endif | 121 #endif |
118 | 122 |
119 #if defined(ENABLE_SPELLCHECK) | 123 #if defined(ENABLE_SPELLCHECK) |
120 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 124 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
121 #endif | 125 #endif |
122 | 126 |
123 #if defined(ENABLE_SERVICE_DISCOVERY) | 127 #if defined(ENABLE_SERVICE_DISCOVERY) |
124 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 128 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 CaptivePortalServiceFactory::GetInstance(); | 183 CaptivePortalServiceFactory::GetInstance(); |
180 #endif | 184 #endif |
181 GeolocationPermissionContextFactory::GetInstance(); | 185 GeolocationPermissionContextFactory::GetInstance(); |
182 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) | 186 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) |
183 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); | 187 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); |
184 #endif | 188 #endif |
185 #if defined(ENABLE_PRINT_PREVIEW) | 189 #if defined(ENABLE_PRINT_PREVIEW) |
186 CloudPrintProxyServiceFactory::GetInstance(); | 190 CloudPrintProxyServiceFactory::GetInstance(); |
187 #endif | 191 #endif |
188 CookieSettings::Factory::GetInstance(); | 192 CookieSettings::Factory::GetInstance(); |
| 193 #if !defined(OS_ANDROID) && !defined(OS_IOS) && !defined(OS_CHROMEOS) |
| 194 CrossDevicePromoFactory::GetInstance(); |
| 195 #endif |
189 #if defined(ENABLE_NOTIFICATIONS) | 196 #if defined(ENABLE_NOTIFICATIONS) |
190 DesktopNotificationServiceFactory::GetInstance(); | 197 DesktopNotificationServiceFactory::GetInstance(); |
191 #endif | 198 #endif |
192 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 199 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
193 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 200 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
194 DownloadServiceFactory::GetInstance(); | 201 DownloadServiceFactory::GetInstance(); |
195 #if defined(ENABLE_EXTENSIONS) | 202 #if defined(ENABLE_EXTENSIONS) |
196 EasyUnlockServiceFactory::GetInstance(); | 203 EasyUnlockServiceFactory::GetInstance(); |
197 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 204 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
198 #endif | 205 #endif |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 TemplateURLServiceFactory::GetInstance(); | 299 TemplateURLServiceFactory::GetInstance(); |
293 #if defined(ENABLE_THEMES) | 300 #if defined(ENABLE_THEMES) |
294 ThemeServiceFactory::GetInstance(); | 301 ThemeServiceFactory::GetInstance(); |
295 #endif | 302 #endif |
296 WebDataServiceFactory::GetInstance(); | 303 WebDataServiceFactory::GetInstance(); |
297 } | 304 } |
298 | 305 |
299 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 306 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
300 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 307 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
301 } | 308 } |
OLD | NEW |