Index: chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc |
diff --git a/chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc b/chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc |
index 6e6390a90634698caf981ebc8a8d55566372fcc9..3c443103430ca8c1f2a62173e5d5447d9a277f5b 100644 |
--- a/chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc |
+++ b/chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc |
@@ -29,6 +29,7 @@ |
#include "components/policy/core/browser/browser_policy_connector.h" |
#include "components/policy/core/common/mock_configuration_policy_provider.h" |
#include "components/policy/core/common/policy_map.h" |
+#include "components/policy/core/common/policy_types.h" |
#include "policy/policy_constants.h" |
#endif |
@@ -191,6 +192,7 @@ IN_PROC_BROWSER_TEST_F(SyncedPrefChangeRegistrarTest, |
policies.Set(policy::key::kShowHomeButton, |
policy::POLICY_LEVEL_MANDATORY, |
policy::POLICY_SCOPE_USER, |
+ policy::POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(true), |
NULL); |
UpdateChromePolicy(policies); |
@@ -212,6 +214,7 @@ IN_PROC_BROWSER_TEST_F(SyncedPrefChangeRegistrarTest, |
policies.Set(policy::key::kShowHomeButton, |
policy::POLICY_LEVEL_MANDATORY, |
policy::POLICY_SCOPE_USER, |
+ policy::POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(true), |
NULL); |
UpdateChromePolicy(policies); |