| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 64 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 65 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 65 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
| 66 #endif | 66 #endif |
| 67 | 67 |
| 68 #if defined(ENABLE_CONFIGURATION_POLICY) | 68 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 69 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" | 69 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" |
| 70 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" | 70 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" |
| 71 #include "chrome/browser/policy/schema_registry_service_factory.h" | 71 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| 72 #if defined(OS_CHROMEOS) | 72 #if defined(OS_CHROMEOS) |
| 73 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" | 73 #include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h" |
| 74 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 74 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
| 75 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" | 75 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" |
| 76 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" | 76 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" |
| 77 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" | 77 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" |
| 78 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" | 78 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" |
| 79 #else | 79 #else |
| 80 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" | 80 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
| 81 #if !defined(OS_IOS) | 81 #if !defined(OS_IOS) |
| 82 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" | 82 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
| 83 #endif | 83 #endif |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 PasswordStoreFactory::GetInstance(); | 214 PasswordStoreFactory::GetInstance(); |
| 215 #if !defined(OS_ANDROID) | 215 #if !defined(OS_ANDROID) |
| 216 PinnedTabServiceFactory::GetInstance(); | 216 PinnedTabServiceFactory::GetInstance(); |
| 217 #endif | 217 #endif |
| 218 #if defined(ENABLE_PLUGINS) | 218 #if defined(ENABLE_PLUGINS) |
| 219 PluginPrefsFactory::GetInstance(); | 219 PluginPrefsFactory::GetInstance(); |
| 220 #endif | 220 #endif |
| 221 policy::ProfilePolicyConnectorFactory::GetInstance(); | 221 policy::ProfilePolicyConnectorFactory::GetInstance(); |
| 222 #if defined(ENABLE_CONFIGURATION_POLICY) | 222 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 223 #if defined(OS_CHROMEOS) | 223 #if defined(OS_CHROMEOS) |
| 224 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); | 224 chromeos::OwnerSettingsServiceFactory::GetInstance(); |
| 225 policy::PolicyCertServiceFactory::GetInstance(); | 225 policy::PolicyCertServiceFactory::GetInstance(); |
| 226 policy::RecommendationRestorerFactory::GetInstance(); | 226 policy::RecommendationRestorerFactory::GetInstance(); |
| 227 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 227 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); |
| 228 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 228 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
| 229 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); | 229 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
| 230 #else | 230 #else |
| 231 policy::UserCloudPolicyManagerFactory::GetInstance(); | 231 policy::UserCloudPolicyManagerFactory::GetInstance(); |
| 232 #if !defined(OS_IOS) | 232 #if !defined(OS_IOS) |
| 233 policy::UserPolicySigninServiceFactory::GetInstance(); | 233 policy::UserPolicySigninServiceFactory::GetInstance(); |
| 234 #endif | 234 #endif |
| (...skipping 23 matching lines...) Expand all Loading... |
| 258 TemplateURLServiceFactory::GetInstance(); | 258 TemplateURLServiceFactory::GetInstance(); |
| 259 #if defined(ENABLE_THEMES) | 259 #if defined(ENABLE_THEMES) |
| 260 ThemeServiceFactory::GetInstance(); | 260 ThemeServiceFactory::GetInstance(); |
| 261 #endif | 261 #endif |
| 262 WebDataServiceFactory::GetInstance(); | 262 WebDataServiceFactory::GetInstance(); |
| 263 } | 263 } |
| 264 | 264 |
| 265 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 265 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 266 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 266 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 267 } | 267 } |
| OLD | NEW |