Index: chrome/browser/prefs/proxy_policy_unittest.cc |
diff --git a/chrome/browser/prefs/proxy_policy_unittest.cc b/chrome/browser/prefs/proxy_policy_unittest.cc |
index e6893712b3530e2d8a527ea9cfcd06e05438ad28..5ec8013ea4aca508d705780c6a059d055e298ad1 100644 |
--- a/chrome/browser/prefs/proxy_policy_unittest.cc |
+++ b/chrome/browser/prefs/proxy_policy_unittest.cc |
@@ -15,7 +15,6 @@ |
#include "components/policy/core/common/mock_configuration_policy_provider.h" |
#include "components/policy/core/common/policy_map.h" |
#include "components/policy/core/common/policy_service_impl.h" |
-#include "components/policy/core/common/policy_types.h" |
#include "components/pref_registry/pref_registry_syncable.h" |
#include "components/proxy_config/proxy_config_dictionary.h" |
#include "components/proxy_config/proxy_config_pref_names.h" |
@@ -127,17 +126,15 @@ |
new base::StringValue(ProxyPrefs::kFixedServersProxyModeName); |
PolicyMap policy; |
policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, mode_name, nullptr); |
+ mode_name, NULL); |
policy.Set(key::kProxyBypassList, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
new base::StringValue("abc"), |
NULL); |
policy.Set(key::kProxyServer, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
new base::StringValue("ghi"), |
NULL); |
provider_.UpdateChromePolicy(policy); |
@@ -170,7 +167,7 @@ |
new base::StringValue(ProxyPrefs::kAutoDetectProxyModeName); |
PolicyMap policy; |
policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, mode_name, nullptr); |
+ mode_name, NULL); |
provider_.UpdateChromePolicy(policy); |
// First verify that command-line options are set correctly when |
@@ -198,7 +195,7 @@ |
new base::StringValue(ProxyPrefs::kAutoDetectProxyModeName); |
PolicyMap policy; |
policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, mode_name, nullptr); |
+ mode_name, NULL); |
provider_.UpdateChromePolicy(policy); |
// First verify that command-line options are set correctly when |
@@ -222,7 +219,7 @@ |
new base::StringValue(ProxyPrefs::kDirectProxyModeName); |
PolicyMap policy; |
policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, mode_name, nullptr); |
+ mode_name, NULL); |
provider_.UpdateChromePolicy(policy); |
// First verify that the auto-detect is set if there is no managed |