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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 #endif | 92 #endif |
93 | 93 |
94 #if defined(USE_AURA) | 94 #if defined(USE_AURA) |
95 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" | 95 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" |
96 #endif | 96 #endif |
97 | 97 |
98 #if defined(OS_ANDROID) | 98 #if defined(OS_ANDROID) |
99 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" | 99 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" |
100 #else | 100 #else |
101 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" | 101 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" |
102 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | |
103 #endif | 102 #endif |
104 | 103 |
105 #if defined(ENABLE_SPELLCHECK) | 104 #if defined(ENABLE_SPELLCHECK) |
106 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 105 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
107 #endif | 106 #endif |
108 | 107 |
109 #if defined(ENABLE_SERVICE_DISCOVERY) | 108 #if defined(ENABLE_SERVICE_DISCOVERY) |
110 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 109 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
111 #endif | 110 #endif |
112 | 111 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 AppShortcutManagerFactory::GetInstance(); | 143 AppShortcutManagerFactory::GetInstance(); |
145 EphemeralAppServiceFactory::GetInstance(); | 144 EphemeralAppServiceFactory::GetInstance(); |
146 #endif | 145 #endif |
147 | 146 |
148 #if defined(ENABLE_APP_LIST) | 147 #if defined(ENABLE_APP_LIST) |
149 app_list::AppListSyncableServiceFactory::GetInstance(); | 148 app_list::AppListSyncableServiceFactory::GetInstance(); |
150 #endif | 149 #endif |
151 | 150 |
152 AboutSigninInternalsFactory::GetInstance(); | 151 AboutSigninInternalsFactory::GetInstance(); |
153 autofill::PersonalDataManagerFactory::GetInstance(); | 152 autofill::PersonalDataManagerFactory::GetInstance(); |
154 #if !defined(OS_ANDROID) | |
155 AutomaticProfileResetterFactory::GetInstance(); | |
156 #endif | |
157 #if defined(ENABLE_BACKGROUND) | 153 #if defined(ENABLE_BACKGROUND) |
158 BackgroundContentsServiceFactory::GetInstance(); | 154 BackgroundContentsServiceFactory::GetInstance(); |
159 #endif | 155 #endif |
160 BookmarkModelFactory::GetInstance(); | 156 BookmarkModelFactory::GetInstance(); |
161 #if !defined(OS_ANDROID) | 157 #if !defined(OS_ANDROID) |
162 BookmarkUndoServiceFactory::GetInstance(); | 158 BookmarkUndoServiceFactory::GetInstance(); |
163 #endif | 159 #endif |
164 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 160 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
165 CaptivePortalServiceFactory::GetInstance(); | 161 CaptivePortalServiceFactory::GetInstance(); |
166 #endif | 162 #endif |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 TemplateURLServiceFactory::GetInstance(); | 252 TemplateURLServiceFactory::GetInstance(); |
257 #if defined(ENABLE_THEMES) | 253 #if defined(ENABLE_THEMES) |
258 ThemeServiceFactory::GetInstance(); | 254 ThemeServiceFactory::GetInstance(); |
259 #endif | 255 #endif |
260 WebDataServiceFactory::GetInstance(); | 256 WebDataServiceFactory::GetInstance(); |
261 } | 257 } |
262 | 258 |
263 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 259 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
264 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 260 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
265 } | 261 } |
OLD | NEW |