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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 AboutSigninInternalsFactory::GetInstance(); | 156 AboutSigninInternalsFactory::GetInstance(); |
157 AccountTrackerServiceFactory::GetInstance(); | 157 AccountTrackerServiceFactory::GetInstance(); |
158 autofill::PersonalDataManagerFactory::GetInstance(); | 158 autofill::PersonalDataManagerFactory::GetInstance(); |
159 #if !defined(OS_ANDROID) | 159 #if !defined(OS_ANDROID) |
160 AutomaticProfileResetterFactory::GetInstance(); | 160 AutomaticProfileResetterFactory::GetInstance(); |
161 #endif | 161 #endif |
162 #if defined(ENABLE_BACKGROUND) | 162 #if defined(ENABLE_BACKGROUND) |
163 BackgroundContentsServiceFactory::GetInstance(); | 163 BackgroundContentsServiceFactory::GetInstance(); |
164 #endif | 164 #endif |
165 BookmarkModelFactory::GetInstance(); | 165 BookmarkModelFactory::GetInstance(); |
166 #if !defined(OS_ANDROID) | |
167 BookmarkUndoServiceFactory::GetInstance(); | 166 BookmarkUndoServiceFactory::GetInstance(); |
168 #endif | |
169 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 167 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
170 CaptivePortalServiceFactory::GetInstance(); | 168 CaptivePortalServiceFactory::GetInstance(); |
171 #endif | 169 #endif |
172 GeolocationPermissionContextFactory::GetInstance(); | 170 GeolocationPermissionContextFactory::GetInstance(); |
173 #if defined(OS_ANDROID) | 171 #if defined(OS_ANDROID) |
174 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); | 172 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); |
175 #endif | 173 #endif |
176 #if defined(ENABLE_FULL_PRINTING) | 174 #if defined(ENABLE_FULL_PRINTING) |
177 CloudPrintProxyServiceFactory::GetInstance(); | 175 CloudPrintProxyServiceFactory::GetInstance(); |
178 #endif | 176 #endif |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 TemplateURLServiceFactory::GetInstance(); | 262 TemplateURLServiceFactory::GetInstance(); |
265 #if defined(ENABLE_THEMES) | 263 #if defined(ENABLE_THEMES) |
266 ThemeServiceFactory::GetInstance(); | 264 ThemeServiceFactory::GetInstance(); |
267 #endif | 265 #endif |
268 WebDataServiceFactory::GetInstance(); | 266 WebDataServiceFactory::GetInstance(); |
269 } | 267 } |
270 | 268 |
271 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 269 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
272 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 270 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
273 } | 271 } |
OLD | NEW |