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

Unified Diff: chrome/browser/extensions/extension_function_test_utils.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 | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/extensions/extension_management.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_test_utils.cc
diff --git a/chrome/browser/extensions/extension_function_test_utils.cc b/chrome/browser/extensions/extension_function_test_utils.cc
index 332dd99031c265f7d5d4aac368c2f8e68c72f15d..2670e8e356c9a310a9f636ac86a4f02df6e31a82 100644
--- a/chrome/browser/extensions/extension_function_test_utils.cc
+++ b/chrome/browser/extensions/extension_function_test_utils.cc
@@ -59,13 +59,13 @@ base::ListValue* ParseList(const std::string& data) {
base::DictionaryValue* ToDictionary(base::Value* val) {
EXPECT_TRUE(val);
- EXPECT_EQ(base::Value::TYPE_DICTIONARY, val->GetType());
+ EXPECT_EQ(base::Value::Type::DICTIONARY, val->GetType());
return static_cast<base::DictionaryValue*>(val);
}
base::ListValue* ToList(base::Value* val) {
EXPECT_TRUE(val);
- EXPECT_EQ(base::Value::TYPE_LIST, val->GetType());
+ EXPECT_EQ(base::Value::Type::LIST, val->GetType());
return static_cast<base::ListValue*>(val);
}
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/extensions/extension_management.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698