Index: components/policy/core/common/cloud/cloud_policy_validator.h |
diff --git a/components/policy/core/common/cloud/cloud_policy_validator.h b/components/policy/core/common/cloud/cloud_policy_validator.h |
index 9f2870d724a48c7883c6b0ce1a8ddec5745edf40..3d2f2aacf70d59f6da5e1d1fd08417d1bd38b9a8 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_validator.h |
+++ b/components/policy/core/common/cloud/cloud_policy_validator.h |
@@ -18,7 +18,7 @@ |
#include "components/policy/policy_export.h" |
#include "policy/proto/cloud_policy.pb.h" |
-#if !defined(OS_ANDROID) |
+#if !defined(OS_ANDROID) && !defined(OS_IOS) |
#include "policy/proto/chrome_extension_policy.pb.h" |
#endif |
@@ -300,7 +300,7 @@ class POLICY_EXPORT CloudPolicyValidator : public CloudPolicyValidatorBase { |
typedef CloudPolicyValidator<enterprise_management::CloudPolicySettings> |
UserCloudPolicyValidator; |
-#if !defined(OS_ANDROID) |
+#if !defined(OS_ANDROID) && !defined(OS_IOS) |
typedef CloudPolicyValidator<enterprise_management::ExternalPolicyData> |
ComponentCloudPolicyValidator; |
#endif |