Index: components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
index 836b15c41f215cf16c903236542eb02431570630..ad47f9a97548e4d4f66282e7136ef5bdb6fb9998 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc |
@@ -88,9 +88,9 @@ void TestHarness::InstallEmptyPolicy() {} |
void TestHarness::InstallStringPolicy(const std::string& policy_name, |
const std::string& policy_value) { |
- store_.policy_map_.Set( |
- policy_name, policy_level(), policy_scope(), POLICY_SOURCE_CLOUD, |
- base::MakeUnique<base::StringValue>(policy_value), nullptr); |
+ store_.policy_map_.Set(policy_name, policy_level(), policy_scope(), |
+ POLICY_SOURCE_CLOUD, |
+ base::MakeUnique<base::Value>(policy_value), nullptr); |
} |
void TestHarness::InstallIntegerPolicy(const std::string& policy_name, |
@@ -174,8 +174,8 @@ class CloudPolicyManagerTest : public testing::Test { |
void SetUp() override { |
// Set up a policy map for testing. |
policy_map_.Set("key", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
- base::MakeUnique<base::StringValue>("value"), nullptr); |
+ POLICY_SOURCE_CLOUD, base::MakeUnique<base::Value>("value"), |
+ nullptr); |
expected_bundle_.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) |
.CopyFrom(policy_map_); |