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" |
11 #include "chrome/browser/chrome_browser_main.h" | 11 #include "chrome/browser/chrome_browser_main.h" |
12 #include "chrome/browser/content_settings/cookie_settings.h" | 12 #include "chrome/browser/content_settings/cookie_settings.h" |
13 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 13 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
14 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 14 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
15 #include "chrome/browser/download/download_service_factory.h" | 15 #include "chrome/browser/download/download_service_factory.h" |
16 #include "chrome/browser/favicon/favicon_service_factory.h" | 16 #include "chrome/browser/favicon/favicon_service_factory.h" |
17 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto
ry.h" | 17 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h" |
18 #include "chrome/browser/google/google_url_tracker_factory.h" | 18 #include "chrome/browser/google/google_url_tracker_factory.h" |
19 #include "chrome/browser/history/history_service_factory.h" | 19 #include "chrome/browser/history/history_service_factory.h" |
20 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" | 20 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
21 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" | 21 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" |
22 #include "chrome/browser/notifications/desktop_notification_service_factory.h" | 22 #include "chrome/browser/notifications/desktop_notification_service_factory.h" |
23 #include "chrome/browser/password_manager/password_store_factory.h" | 23 #include "chrome/browser/password_manager/password_store_factory.h" |
24 #include "chrome/browser/plugins/plugin_prefs_factory.h" | 24 #include "chrome/browser/plugins/plugin_prefs_factory.h" |
25 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 25 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
26 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" | 26 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" |
27 #include "chrome/browser/predictors/predictor_database_factory.h" | 27 #include "chrome/browser/predictors/predictor_database_factory.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 #if defined(ENABLE_BACKGROUND) | 156 #if defined(ENABLE_BACKGROUND) |
157 BackgroundContentsServiceFactory::GetInstance(); | 157 BackgroundContentsServiceFactory::GetInstance(); |
158 #endif | 158 #endif |
159 BookmarkModelFactory::GetInstance(); | 159 BookmarkModelFactory::GetInstance(); |
160 #if !defined(OS_ANDROID) | 160 #if !defined(OS_ANDROID) |
161 BookmarkUndoServiceFactory::GetInstance(); | 161 BookmarkUndoServiceFactory::GetInstance(); |
162 #endif | 162 #endif |
163 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 163 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
164 CaptivePortalServiceFactory::GetInstance(); | 164 CaptivePortalServiceFactory::GetInstance(); |
165 #endif | 165 #endif |
166 ChromeGeolocationPermissionContextFactory::GetInstance(); | 166 GeolocationPermissionContextFactory::GetInstance(); |
167 #if defined(OS_ANDROID) | 167 #if defined(OS_ANDROID) |
168 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); | 168 ProtectedMediaIdentifierPermissionContextFactory::GetInstance(); |
169 #endif | 169 #endif |
170 #if defined(ENABLE_FULL_PRINTING) | 170 #if defined(ENABLE_FULL_PRINTING) |
171 CloudPrintProxyServiceFactory::GetInstance(); | 171 CloudPrintProxyServiceFactory::GetInstance(); |
172 #endif | 172 #endif |
173 CookieSettings::Factory::GetInstance(); | 173 CookieSettings::Factory::GetInstance(); |
174 #if defined(ENABLE_NOTIFICATIONS) | 174 #if defined(ENABLE_NOTIFICATIONS) |
175 DesktopNotificationServiceFactory::GetInstance(); | 175 DesktopNotificationServiceFactory::GetInstance(); |
176 #endif | 176 #endif |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 TemplateURLServiceFactory::GetInstance(); | 251 TemplateURLServiceFactory::GetInstance(); |
252 #if defined(ENABLE_THEMES) | 252 #if defined(ENABLE_THEMES) |
253 ThemeServiceFactory::GetInstance(); | 253 ThemeServiceFactory::GetInstance(); |
254 #endif | 254 #endif |
255 WebDataServiceFactory::GetInstance(); | 255 WebDataServiceFactory::GetInstance(); |
256 } | 256 } |
257 | 257 |
258 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 258 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
259 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 259 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
260 } | 260 } |
OLD | NEW |