Index: components/sync_driver/sync_policy_handler_unittest.cc |
diff --git a/components/sync_driver/sync_policy_handler_unittest.cc b/components/sync_driver/sync_policy_handler_unittest.cc |
index e0f2c0d48049baab4dc1672e96f848db35435e47..2d95ec1c1cf71da2dadc0e53bbc957c863efe07e 100644 |
--- a/components/sync_driver/sync_policy_handler_unittest.cc |
+++ b/components/sync_driver/sync_policy_handler_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "base/prefs/pref_value_map.h" |
#include "base/values.h" |
#include "components/policy/core/common/policy_map.h" |
+#include "components/policy/core/common/policy_types.h" |
#include "components/sync_driver/pref_names.h" |
#include "components/sync_driver/sync_policy_handler.h" |
#include "policy/policy_constants.h" |
@@ -28,6 +29,7 @@ TEST_F(SyncPolicyHandlerTest, Enabled) { |
policy.Set(policy::key::kSyncDisabled, |
policy::POLICY_LEVEL_MANDATORY, |
policy::POLICY_SCOPE_USER, |
+ policy::POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(false), |
NULL); |
SyncPolicyHandler handler; |
@@ -43,6 +45,7 @@ TEST_F(SyncPolicyHandlerTest, Disabled) { |
policy.Set(policy::key::kSyncDisabled, |
policy::POLICY_LEVEL_MANDATORY, |
policy::POLICY_SCOPE_USER, |
+ policy::POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(true), |
NULL); |
SyncPolicyHandler handler; |