Index: chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc b/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
index 8f75d38544ba1c9afee93274981b6c57ecadcb50..9b770a02f4dd7c2cb6592810541224bc6cf9d68c 100644 |
--- a/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
+++ b/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
@@ -24,7 +24,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/user_manager/user.h" |
#include "components/user_manager/user_type.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
@@ -345,7 +344,6 @@ |
policy.Set(key::kOpenNetworkConfiguration, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
new base::StringValue(onc_policy), |
NULL); |
UpdateProviderPolicy(policy); |
@@ -469,7 +467,6 @@ |
policy.Set(key::kOpenNetworkConfiguration, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
new base::StringValue(kFakeONC), |
NULL); |
UpdateProviderPolicy(policy); |
@@ -491,8 +488,7 @@ |
DontImportCertificateBeforeCertificateImporterSet) { |
PolicyMap policy; |
policy.Set(key::kOpenNetworkConfiguration, POLICY_LEVEL_MANDATORY, |
- POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, |
- new base::StringValue(kFakeONC), nullptr); |
+ POLICY_SCOPE_USER, new base::StringValue(kFakeONC), NULL); |
UpdateProviderPolicy(policy); |
EXPECT_CALL(network_config_handler_, |
@@ -558,7 +554,7 @@ |
TEST_P(NetworkConfigurationUpdaterTestWithParam, InitialUpdates) { |
PolicyMap policy; |
policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, new base::StringValue(kFakeONC), nullptr); |
+ new base::StringValue(kFakeONC), NULL); |
UpdateProviderPolicy(policy); |
EXPECT_CALL(network_config_handler_, |
@@ -579,7 +575,7 @@ |
PolicyNotSetBeforePolicyProviderInitialized) { |
PolicyMap policy; |
policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, new base::StringValue(kFakeONC), nullptr); |
+ new base::StringValue(kFakeONC), NULL); |
UpdateProviderPolicy(policy); |
CreateNetworkConfigurationUpdater(); |
@@ -606,7 +602,7 @@ |
PolicyMap policy; |
policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, new base::StringValue(kFakeONC), nullptr); |
+ new base::StringValue(kFakeONC), NULL); |
UpdateProviderPolicy(policy); |
EXPECT_CALL(network_config_handler_, |
@@ -645,7 +641,7 @@ |
PolicyMap policy; |
policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, new base::StringValue(kFakeONC), nullptr); |
+ new base::StringValue(kFakeONC), NULL); |
UpdateProviderPolicy(policy); |
Mock::VerifyAndClearExpectations(&network_config_handler_); |
EXPECT_EQ(ExpectedImportCertificatesCallCount(), |