Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
index 157cae01bd4ade8aadcd203eaee078a38a447697..24ef44dfa58404d294f21762aac50b6d16f5506c 100644 |
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
@@ -128,9 +128,11 @@ |
#include "chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h" |
#else |
#include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
+#if !defined(OS_IOS) |
#include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
#endif |
#endif |
+#endif |
#if defined(ENABLE_MANAGED_USERS) |
#include "chrome/browser/managed_mode/managed_user_service_factory.h" |
@@ -351,8 +353,10 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() { |
policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
#else |
policy::UserCloudPolicyManagerFactory::GetInstance(); |
+#if !defined(OS_IOS) |
policy::UserPolicySigninServiceFactory::GetInstance(); |
#endif |
+#endif |
policy::PolicyHeaderServiceFactory::GetInstance(); |
policy::SchemaRegistryServiceFactory::GetInstance(); |
policy::UserCloudPolicyInvalidatorFactory::GetInstance(); |