Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: chrome/browser/policy/configuration_policy_provider_win_unittest.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_mac_unittest.cc ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698