Index: tools/json_schema_compiler/util.cc |
diff --git a/tools/json_schema_compiler/util.cc b/tools/json_schema_compiler/util.cc |
index 25f908cf2af0537b6c328af66c450833fde04732..a4495090fa4b3d02a563f53e395dc0a64fa893a1 100644 |
--- a/tools/json_schema_compiler/util.cc |
+++ b/tools/json_schema_compiler/util.cc |
@@ -9,23 +9,23 @@ |
namespace json_schema_compiler { |
namespace util { |
-bool GetItemFromList(const ListValue& from, int index, int* out) { |
+bool GetItemFromList(const base::ListValue& from, int index, int* out) { |
return from.GetInteger(index, out); |
} |
-bool GetItemFromList(const ListValue& from, int index, bool* out) { |
+bool GetItemFromList(const base::ListValue& from, int index, bool* out) { |
return from.GetBoolean(index, out); |
} |
-bool GetItemFromList(const ListValue& from, int index, double* out) { |
+bool GetItemFromList(const base::ListValue& from, int index, double* out) { |
return from.GetDouble(index, out); |
} |
-bool GetItemFromList(const ListValue& from, int index, std::string* out) { |
+bool GetItemFromList(const base::ListValue& from, int index, std::string* out) { |
return from.GetString(index, out); |
} |
-bool GetItemFromList(const ListValue& from, |
+bool GetItemFromList(const base::ListValue& from, |
int index, |
linked_ptr<base::Value>* out) { |
const base::Value* value = NULL; |
@@ -35,9 +35,9 @@ bool GetItemFromList(const ListValue& from, |
return true; |
} |
-bool GetItemFromList(const ListValue& from, int index, |
+bool GetItemFromList(const base::ListValue& from, int index, |
linked_ptr<base::DictionaryValue>* out) { |
- const DictionaryValue* dict = NULL; |
+ const base::DictionaryValue* dict = NULL; |
if (!from.GetDictionary(index, &dict)) |
return false; |
*out = make_linked_ptr(dict->DeepCopy()); |
@@ -67,7 +67,7 @@ void AddItemToList(const linked_ptr<base::Value>& from, |
void AddItemToList(const linked_ptr<base::DictionaryValue>& from, |
base::ListValue* out) { |
- out->Append(static_cast<Value*>(from->DeepCopy())); |
+ out->Append(static_cast<base::Value*>(from->DeepCopy())); |
} |
} // namespace api_util |