Index: chrome/browser/ui/webui/options/preferences_browsertest.cc |
diff --git a/chrome/browser/ui/webui/options/preferences_browsertest.cc b/chrome/browser/ui/webui/options/preferences_browsertest.cc |
index 2482e34424c4fef931eb41c0aa2e375756fdd804..2f2cee959ee51b77ee5ac91ffd7f71a63e78c9bb 100644 |
--- a/chrome/browser/ui/webui/options/preferences_browsertest.cc |
+++ b/chrome/browser/ui/webui/options/preferences_browsertest.cc |
@@ -201,7 +201,7 @@ void PreferencesBrowserTest::SetUserPolicies( |
policy::PolicyMap map; |
for (size_t i = 0; i < names.size(); ++i) { |
map.Set(names[i], level, policy::POLICY_SCOPE_USER, |
- values[i]->DeepCopy(), NULL); |
+ policy::POLICY_SOURCE_CLOUD, values[i]->DeepCopy(), nullptr); |
} |
policy_provider_.UpdateChromePolicy(map); |
} |
@@ -878,6 +878,7 @@ class ProxyPreferencesBrowserTest : public PreferencesBrowserTest { |
map.Set(policy_name, |
policy::POLICY_LEVEL_MANDATORY, |
scope, |
+ policy::POLICY_SOURCE_CLOUD, |
new base::StringValue(onc_policy), |
NULL); |
policy_provider_.UpdateChromePolicy(map); |