| Index: components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc
|
| diff --git a/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc
|
| index bf07f659305cd9083e407f7ee29beeda63801604..6e6e8c1e1866f0b89a4f2e75c9c2ce28918f39f1 100644
|
| --- a/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc
|
| +++ b/components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc
|
| @@ -86,18 +86,12 @@ class ComponentCloudPolicyStoreTest : public testing::Test {
|
|
|
| PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, kTestExtension);
|
| PolicyMap& policy = expected_bundle_.Get(ns);
|
| - policy.Set("Name",
|
| - POLICY_LEVEL_MANDATORY,
|
| - POLICY_SCOPE_USER,
|
| + policy.Set("Name", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER,
|
| POLICY_SOURCE_CLOUD,
|
| - new base::StringValue("disabled"),
|
| - NULL);
|
| - policy.Set("Second",
|
| - POLICY_LEVEL_RECOMMENDED,
|
| - POLICY_SCOPE_USER,
|
| + base::WrapUnique(new base::StringValue("disabled")), nullptr);
|
| + policy.Set("Second", POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER,
|
| POLICY_SOURCE_CLOUD,
|
| - new base::StringValue("maybe"),
|
| - NULL);
|
| + base::WrapUnique(new base::StringValue("maybe")), nullptr);
|
| }
|
|
|
| // Returns true if the policy exposed by the |store_| is empty.
|
|
|