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/shortcuts_backend_factory.h" | 7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
8 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 8 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
9 #include "chrome/browser/background/background_contents_service_factory.h" | 9 #include "chrome/browser/background/background_contents_service_factory.h" |
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 #endif | 96 #endif |
97 #endif | 97 #endif |
98 | 98 |
99 #if defined(USE_AURA) | 99 #if defined(USE_AURA) |
100 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" | 100 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" |
101 #endif | 101 #endif |
102 | 102 |
103 #if defined(OS_ANDROID) | 103 #if defined(OS_ANDROID) |
104 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" | 104 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" |
105 #else | 105 #else |
106 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" | |
107 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 106 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
108 #endif | 107 #endif |
109 | 108 |
110 #if defined(ENABLE_SPELLCHECK) | 109 #if defined(ENABLE_SPELLCHECK) |
111 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 110 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
112 #endif | 111 #endif |
113 | 112 |
114 #if defined(ENABLE_SERVICE_DISCOVERY) | 113 #if defined(ENABLE_SERVICE_DISCOVERY) |
115 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 114 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
116 #endif | 115 #endif |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 #if defined(ENABLE_SUPERVISED_USERS) | 205 #if defined(ENABLE_SUPERVISED_USERS) |
207 #if defined(OS_CHROMEOS) | 206 #if defined(OS_CHROMEOS) |
208 chromeos::SupervisedUserPasswordServiceFactory::GetInstance(); | 207 chromeos::SupervisedUserPasswordServiceFactory::GetInstance(); |
209 chromeos::ManagerPasswordServiceFactory::GetInstance(); | 208 chromeos::ManagerPasswordServiceFactory::GetInstance(); |
210 #endif | 209 #endif |
211 SupervisedUserServiceFactory::GetInstance(); | 210 SupervisedUserServiceFactory::GetInstance(); |
212 SupervisedUserSyncServiceFactory::GetInstance(); | 211 SupervisedUserSyncServiceFactory::GetInstance(); |
213 #endif | 212 #endif |
214 #if !defined(OS_ANDROID) | 213 #if !defined(OS_ANDROID) |
215 MediaGalleriesPreferencesFactory::GetInstance(); | 214 MediaGalleriesPreferencesFactory::GetInstance(); |
216 notifier::ChromeNotifierServiceFactory::GetInstance(); | |
217 NTPResourceCacheFactory::GetInstance(); | 215 NTPResourceCacheFactory::GetInstance(); |
218 #endif | 216 #endif |
219 PasswordStoreFactory::GetInstance(); | 217 PasswordStoreFactory::GetInstance(); |
220 #if !defined(OS_ANDROID) | 218 #if !defined(OS_ANDROID) |
221 PinnedTabServiceFactory::GetInstance(); | 219 PinnedTabServiceFactory::GetInstance(); |
222 #endif | 220 #endif |
223 #if defined(ENABLE_PLUGINS) | 221 #if defined(ENABLE_PLUGINS) |
224 PluginPrefsFactory::GetInstance(); | 222 PluginPrefsFactory::GetInstance(); |
225 #endif | 223 #endif |
226 policy::ProfilePolicyConnectorFactory::GetInstance(); | 224 policy::ProfilePolicyConnectorFactory::GetInstance(); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 TemplateURLServiceFactory::GetInstance(); | 264 TemplateURLServiceFactory::GetInstance(); |
267 #if defined(ENABLE_THEMES) | 265 #if defined(ENABLE_THEMES) |
268 ThemeServiceFactory::GetInstance(); | 266 ThemeServiceFactory::GetInstance(); |
269 #endif | 267 #endif |
270 WebDataServiceFactory::GetInstance(); | 268 WebDataServiceFactory::GetInstance(); |
271 } | 269 } |
272 | 270 |
273 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 271 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
274 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 272 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
275 } | 273 } |
OLD | NEW |