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

Unified Diff: tools/json_schema_compiler/util.cc

Issue 116543010: Remove the Value class names from the global namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years 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
« no previous file with comments | « tools/json_schema_compiler/util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/util.cc
diff --git a/tools/json_schema_compiler/util.cc b/tools/json_schema_compiler/util.cc
index d0e77659e6a1361f43f949cd5fe7035159e26d2d..2806cfcf0f923c268dc1d9dd284fbe67f136342f 100644
--- a/tools/json_schema_compiler/util.cc
+++ b/tools/json_schema_compiler/util.cc
@@ -70,23 +70,23 @@ void AddItemToList(const linked_ptr<base::DictionaryValue>& from,
out->Append(static_cast<base::Value*>(from->DeepCopy()));
}
-std::string ValueTypeToString(Value::Type type) {
+std::string ValueTypeToString(base::Value::Type type) {
switch(type) {
- case Value::TYPE_NULL:
+ case base::Value::TYPE_NULL:
return "null";
- case Value::TYPE_BOOLEAN:
+ case base::Value::TYPE_BOOLEAN:
return "boolean";
- case Value::TYPE_INTEGER:
+ case base::Value::TYPE_INTEGER:
return "integer";
- case Value::TYPE_DOUBLE:
+ case base::Value::TYPE_DOUBLE:
return "number";
- case Value::TYPE_STRING:
+ case base::Value::TYPE_STRING:
return "string";
- case Value::TYPE_BINARY:
+ case base::Value::TYPE_BINARY:
return "binary";
- case Value::TYPE_DICTIONARY:
+ case base::Value::TYPE_DICTIONARY:
return "dictionary";
- case Value::TYPE_LIST:
+ case base::Value::TYPE_LIST:
return "list";
}
NOTREACHED();
« no previous file with comments | « tools/json_schema_compiler/util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698