diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-24 15:31:21 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-24 15:31:21 +0000 |
commit | a644f1e204545af25d94225f7806a12a2b8f0b5d (patch) | |
tree | 36ad7037e0171ac0648d84e1ac551e70ab93e34f /tools/json_schema_compiler/util.cc | |
parent | e35005d00a8cb7b6842bcb328c37cf033bf920a5 (diff) | |
download | chromium_src-a644f1e204545af25d94225f7806a12a2b8f0b5d.zip chromium_src-a644f1e204545af25d94225f7806a12a2b8f0b5d.tar.gz chromium_src-a644f1e204545af25d94225f7806a12a2b8f0b5d.tar.bz2 |
Remove the Value class names from the global namespace.
BUG=88666
TEST=no change
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/116543010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler/util.cc')
-rw-r--r-- | tools/json_schema_compiler/util.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/json_schema_compiler/util.cc b/tools/json_schema_compiler/util.cc index d0e7765..2806cfc 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(); |