Index: chrome/browser/policy/cloud/cloud_policy_browsertest.cc |
diff --git a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc |
index 60795d2f2a58a13e03d954496b708c7e08bf44d7..c238659d9b4b2dfc4fd260ea0feeb690c23bc3ef 100644 |
--- a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc |
+++ b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc |
@@ -138,9 +138,11 @@ std::string GetTestPolicy(const char* homepage, int key_version) { |
void GetExpectedDefaultPolicy(PolicyMap* policy_map) { |
#if defined(OS_CHROMEOS) |
- policy_map->Set( |
- key::kChromeOsMultiProfileUserBehavior, POLICY_LEVEL_MANDATORY, |
- POLICY_SCOPE_USER, base::Value::CreateStringValue("primary-only"), NULL); |
+ policy_map->Set(key::kChromeOsMultiProfileUserBehavior, |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_USER, |
+ new base::StringValue("primary-only"), |
+ NULL); |
#endif |
} |
@@ -161,13 +163,17 @@ void GetExpectedTestPolicy(PolicyMap* expected, const char* homepage) { |
expected->Set( |
key::kMaxInvalidationFetchDelay, POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, base::Value::CreateIntegerValue(1000), NULL); |
- expected->Set( |
- key::kHomepageLocation, POLICY_LEVEL_RECOMMENDED, |
- POLICY_SCOPE_USER, base::Value::CreateStringValue(homepage), NULL); |
+ expected->Set(key::kHomepageLocation, |
+ POLICY_LEVEL_RECOMMENDED, |
+ POLICY_SCOPE_USER, |
+ new base::StringValue(homepage), |
+ NULL); |
#if defined(OS_CHROMEOS) |
- expected->Set( |
- key::kChromeOsMultiProfileUserBehavior, POLICY_LEVEL_MANDATORY, |
- POLICY_SCOPE_USER, base::Value::CreateStringValue("primary-only"), NULL); |
+ expected->Set(key::kChromeOsMultiProfileUserBehavior, |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_USER, |
+ new base::StringValue("primary-only"), |
+ NULL); |
#endif |
} |