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 <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 #endif | 91 #endif |
92 | 92 |
93 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) | 93 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
94 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 94 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
95 #endif | 95 #endif |
96 | 96 |
97 #if defined(OS_CHROMEOS) | 97 #if defined(OS_CHROMEOS) |
98 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" | 98 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" |
99 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 99 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
100 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" | 100 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" |
101 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" | |
102 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" | 101 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" |
103 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" | 102 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" |
| 103 #include "chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.h" |
104 #else | 104 #else |
105 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" | 105 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
106 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" | 106 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
107 #endif | 107 #endif |
108 | 108 |
109 #if BUILDFLAG(ENABLE_SUPERVISED_USERS) | 109 #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
110 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_fac
tory.h" | 110 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_fac
tory.h" |
111 #include "chrome/browser/supervised_user/supervised_user_service_factory.h" | 111 #include "chrome/browser/supervised_user/supervised_user_service_factory.h" |
112 #if defined(OS_CHROMEOS) | 112 #if defined(OS_CHROMEOS) |
113 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto
ry.h" | 113 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto
ry.h" |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 #endif | 295 #endif |
296 #if BUILDFLAG(ENABLE_PLUGINS) | 296 #if BUILDFLAG(ENABLE_PLUGINS) |
297 PluginPrefsFactory::GetInstance(); | 297 PluginPrefsFactory::GetInstance(); |
298 #endif | 298 #endif |
299 PrefsTabHelper::GetServiceInstance(); | 299 PrefsTabHelper::GetServiceInstance(); |
300 policy::ProfilePolicyConnectorFactory::GetInstance(); | 300 policy::ProfilePolicyConnectorFactory::GetInstance(); |
301 #if defined(OS_CHROMEOS) | 301 #if defined(OS_CHROMEOS) |
302 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); | 302 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); |
303 policy::PolicyCertServiceFactory::GetInstance(); | 303 policy::PolicyCertServiceFactory::GetInstance(); |
304 policy::RecommendationRestorerFactory::GetInstance(); | 304 policy::RecommendationRestorerFactory::GetInstance(); |
305 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 305 policy::UserPolicyManagerFactoryChromeOS::GetInstance(); |
306 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 306 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
307 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); | 307 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
308 #else // !defined(OS_CHROMEOS) | 308 #else // !defined(OS_CHROMEOS) |
309 policy::UserCloudPolicyManagerFactory::GetInstance(); | 309 policy::UserCloudPolicyManagerFactory::GetInstance(); |
310 policy::UserPolicySigninServiceFactory::GetInstance(); | 310 policy::UserPolicySigninServiceFactory::GetInstance(); |
311 #endif | 311 #endif |
312 policy::PolicyHeaderServiceFactory::GetInstance(); | 312 policy::PolicyHeaderServiceFactory::GetInstance(); |
313 policy::SchemaRegistryServiceFactory::GetInstance(); | 313 policy::SchemaRegistryServiceFactory::GetInstance(); |
314 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); | 314 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); |
315 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 315 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
(...skipping 26 matching lines...) Expand all Loading... |
342 #endif | 342 #endif |
343 #if !defined(OS_ANDROID) | 343 #if !defined(OS_ANDROID) |
344 UsbChooserContextFactory::GetInstance(); | 344 UsbChooserContextFactory::GetInstance(); |
345 #endif | 345 #endif |
346 WebDataServiceFactory::GetInstance(); | 346 WebDataServiceFactory::GetInstance(); |
347 } | 347 } |
348 | 348 |
349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
351 } | 351 } |
OLD | NEW |