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

Unified Diff: components/json_schema/json_schema_validator_unittest_base.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 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 | « components/json_schema/json_schema_validator.cc ('k') | components/nacl/renderer/json_manifest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/json_schema/json_schema_validator_unittest_base.cc
diff --git a/components/json_schema/json_schema_validator_unittest_base.cc b/components/json_schema/json_schema_validator_unittest_base.cc
index a1da991f9548b5ba4daccb8dda48862b3e0edaca..6442fb31d58e215bfe33fe5b1e74d84ff8622647 100644
--- a/components/json_schema/json_schema_validator_unittest_base.cc
+++ b/components/json_schema/json_schema_validator_unittest_base.cc
@@ -58,12 +58,12 @@ base::Value* LoadValue(const std::string& filename, base::Value::Type type) {
base::ListValue* LoadList(const std::string& filename) {
return static_cast<base::ListValue*>(
- LoadValue(filename, base::Value::TYPE_LIST));
+ LoadValue(filename, base::Value::Type::LIST));
}
base::DictionaryValue* LoadDictionary(const std::string& filename) {
return static_cast<base::DictionaryValue*>(
- LoadValue(filename, base::Value::TYPE_DICTIONARY));
+ LoadValue(filename, base::Value::Type::DICTIONARY));
}
} // namespace
« no previous file with comments | « components/json_schema/json_schema_validator.cc ('k') | components/nacl/renderer/json_manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698