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 "apps/app_load_service_factory.h" | 7 #include "apps/app_load_service_factory.h" |
8 #include "apps/app_restore_service_factory.h" | 8 #include "apps/app_restore_service_factory.h" |
9 #include "apps/shell_window_geometry_cache.h" | 9 #include "apps/shell_window_geometry_cache.h" |
10 #include "apps/shortcut_manager_factory.h" | 10 #include "apps/shortcut_manager_factory.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 88 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
89 #include "chrome/browser/user_style_sheet_watcher_factory.h" | 89 #include "chrome/browser/user_style_sheet_watcher_factory.h" |
90 #include "chrome/browser/webdata/web_data_service_factory.h" | 90 #include "chrome/browser/webdata/web_data_service_factory.h" |
91 | 91 |
92 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 92 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
93 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 93 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
94 #endif | 94 #endif |
95 | 95 |
96 #if defined(ENABLE_CONFIGURATION_POLICY) | 96 #if defined(ENABLE_CONFIGURATION_POLICY) |
97 #if defined(OS_CHROMEOS) | 97 #if defined(OS_CHROMEOS) |
| 98 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" |
98 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" | 99 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" |
99 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" | 100 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" |
100 #else | 101 #else |
101 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" | 102 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
102 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" | 103 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
103 #endif | 104 #endif |
104 #endif | 105 #endif |
105 | 106 |
106 #if defined(ENABLE_MANAGED_USERS) | 107 #if defined(ENABLE_MANAGED_USERS) |
107 #include "chrome/browser/managed_mode/managed_user_service_factory.h" | 108 #include "chrome/browser/managed_mode/managed_user_service_factory.h" |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 PasswordStoreFactory::GetInstance(); | 256 PasswordStoreFactory::GetInstance(); |
256 #if !defined(OS_ANDROID) | 257 #if !defined(OS_ANDROID) |
257 PinnedTabServiceFactory::GetInstance(); | 258 PinnedTabServiceFactory::GetInstance(); |
258 #endif | 259 #endif |
259 #if defined(ENABLE_PLUGINS) | 260 #if defined(ENABLE_PLUGINS) |
260 PluginPrefsFactory::GetInstance(); | 261 PluginPrefsFactory::GetInstance(); |
261 #endif | 262 #endif |
262 policy::ProfilePolicyConnectorFactory::GetInstance(); | 263 policy::ProfilePolicyConnectorFactory::GetInstance(); |
263 #if defined(ENABLE_CONFIGURATION_POLICY) | 264 #if defined(ENABLE_CONFIGURATION_POLICY) |
264 #if defined(OS_CHROMEOS) | 265 #if defined(OS_CHROMEOS) |
| 266 policy::RecommendationRestorerFactory::GetInstance(); |
265 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 267 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); |
266 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 268 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
267 #else | 269 #else |
268 policy::UserCloudPolicyManagerFactory::GetInstance(); | 270 policy::UserCloudPolicyManagerFactory::GetInstance(); |
269 policy::UserPolicySigninServiceFactory::GetInstance(); | 271 policy::UserPolicySigninServiceFactory::GetInstance(); |
270 #endif | 272 #endif |
271 #endif | 273 #endif |
272 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 274 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
273 predictors::PredictorDatabaseFactory::GetInstance(); | 275 predictors::PredictorDatabaseFactory::GetInstance(); |
274 predictors::ResourcePrefetchPredictorFactory::GetInstance(); | 276 predictors::ResourcePrefetchPredictorFactory::GetInstance(); |
(...skipping 18 matching lines...) Expand all Loading... |
293 TokenServiceFactory::GetInstance(); | 295 TokenServiceFactory::GetInstance(); |
294 #if !defined(OS_ANDROID) | 296 #if !defined(OS_ANDROID) |
295 UserStyleSheetWatcherFactory::GetInstance(); | 297 UserStyleSheetWatcherFactory::GetInstance(); |
296 #endif | 298 #endif |
297 WebDataServiceFactory::GetInstance(); | 299 WebDataServiceFactory::GetInstance(); |
298 } | 300 } |
299 | 301 |
300 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 302 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
301 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 303 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
302 } | 304 } |
OLD | NEW |