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

Unified Diff: components/safe_json/testing_json_parser_unittest.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/safe_json/json_sanitizer.cc ('k') | components/search_engines/default_search_policy_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/testing_json_parser_unittest.cc
diff --git a/components/safe_json/testing_json_parser_unittest.cc b/components/safe_json/testing_json_parser_unittest.cc
index 1e944a98fa2fbdd4e88a9b3c64055216f6ce1a6a..63f638fa09490efaabfe972cfb288995121ff333 100644
--- a/components/safe_json/testing_json_parser_unittest.cc
+++ b/components/safe_json/testing_json_parser_unittest.cc
@@ -40,7 +40,7 @@ class TestingJsonParserTest : public testing::Test {
test->did_success_ = true;
quit_closure.Run();
- ASSERT_TRUE(value->IsType(base::Value::TYPE_DICTIONARY));
+ ASSERT_TRUE(value->IsType(base::Value::Type::DICTIONARY));
base::DictionaryValue* dict;
ASSERT_TRUE(value->GetAsDictionary(&dict));
int key_value = 0;
« no previous file with comments | « components/safe_json/json_sanitizer.cc ('k') | components/search_engines/default_search_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698