| Index: chrome/browser/policy/configuration_policy_provider_win_unittest.cc
|
| diff --git a/chrome/browser/policy/configuration_policy_provider_win_unittest.cc b/chrome/browser/policy/configuration_policy_provider_win_unittest.cc
|
| index 433891ac27fc7380b7c6a0cdf1c76578affaac80..af572d97da60eca98a3cfed8b7b27b21c3c81e3b 100644
|
| --- a/chrome/browser/policy/configuration_policy_provider_win_unittest.cc
|
| +++ b/chrome/browser/policy/configuration_policy_provider_win_unittest.cc
|
| @@ -78,33 +78,33 @@ class PolicyTestParams {
|
| const char* policy_name) {
|
| return PolicyTestParams(type,
|
| policy_name,
|
| - Value::CreateStringValue("string_a"),
|
| - Value::CreateStringValue("string_b"));
|
| + base::StringValue::New("string_a"),
|
| + base::StringValue::New("string_b"));
|
| }
|
| static PolicyTestParams ForBooleanPolicy(
|
| ConfigurationPolicyType type,
|
| const char* policy_name) {
|
| return PolicyTestParams(type,
|
| policy_name,
|
| - Value::CreateBooleanValue(true),
|
| - Value::CreateBooleanValue(false));
|
| + base::TrueValue(),
|
| + base::FalseValue());
|
| }
|
| static PolicyTestParams ForIntegerPolicy(
|
| ConfigurationPolicyType type,
|
| const char* policy_name) {
|
| return PolicyTestParams(type,
|
| policy_name,
|
| - Value::CreateIntegerValue(42),
|
| - Value::CreateIntegerValue(17));
|
| + base::NumberValue::New(42),
|
| + base::NumberValue::New(17));
|
| }
|
| static PolicyTestParams ForListPolicy(
|
| ConfigurationPolicyType type,
|
| const char* policy_name) {
|
| ListValue* hklm_value = new ListValue;
|
| - hklm_value->Set(0U, Value::CreateStringValue("It's a plane!"));
|
| + hklm_value->Set(0U, base::StringValue::New("It's a plane!"));
|
| ListValue* hkcu_value = new ListValue;
|
| - hkcu_value->Set(0U, Value::CreateStringValue("It's a bird!"));
|
| - hkcu_value->Set(0U, Value::CreateStringValue("It's a flying carpet!"));
|
| + hkcu_value->Set(0U, base::StringValue::New("It's a bird!"));
|
| + hkcu_value->Set(0U, base::StringValue::New("It's a flying carpet!"));
|
| return PolicyTestParams(type, policy_name, hklm_value, hkcu_value);
|
| }
|
|
|
|
|