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

Unified Diff: chrome/browser/policy/configuration_policy_provider_mac_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_mac_unittest.cc
diff --git a/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc b/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
index 512307f11c38b0fa0b25302ee69238a56078d83f..cbdd67e3df2dbe2eb06829d694bd7977734d5239 100644
--- a/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
+++ b/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
@@ -98,24 +98,24 @@ class PolicyTestParams {
static PolicyTestParams ForStringPolicy(
ConfigurationPolicyType type,
const char* name) {
- return PolicyTestParams(type, name, Value::CreateStringValue("test"));
+ return PolicyTestParams(type, name, base::StringValue::New("test"));
}
static PolicyTestParams ForBooleanPolicy(
ConfigurationPolicyType type,
const char* name) {
- return PolicyTestParams(type, name, Value::CreateBooleanValue(true));
+ return PolicyTestParams(type, name, base::TrueValue());
}
static PolicyTestParams ForIntegerPolicy(
ConfigurationPolicyType type,
const char* name) {
- return PolicyTestParams(type, name, Value::CreateIntegerValue(42));
+ return PolicyTestParams(type, name, base::NumberValue::New(42));
}
static PolicyTestParams ForListPolicy(
ConfigurationPolicyType type,
const char* name) {
ListValue* value = new ListValue;
- value->Set(0U, Value::CreateStringValue("first"));
- value->Set(1U, Value::CreateStringValue("second"));
+ value->Set(0U, base::StringValue::New("first"));
+ value->Set(1U, base::StringValue::New("second"));
return PolicyTestParams(type, name, value);
}

Powered by Google App Engine
This is Rietveld 408576698