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

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

Issue 7661009: base: Add Is* functions to Value class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nat_policy.cc 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..8b3e9c7693254df5b5cb9e38224c6778512622d2 100644
--- a/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
+++ b/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
@@ -78,7 +78,7 @@ class PolicyTestParams {
&kCFTypeArrayCallBacks));
for (ListValue::const_iterator element(list->begin());
element != list->end(); ++element) {
- if (!(*element)->IsType(Value::TYPE_STRING))
+ if (!(*element)->IsString())
return NULL;
std::string element_value;
if (!(*element)->GetAsString(&element_value))

Powered by Google App Engine
This is Rietveld 408576698