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

Unified Diff: components/sync_preferences/pref_model_associator_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
Index: components/sync_preferences/pref_model_associator_unittest.cc
diff --git a/components/sync_preferences/pref_model_associator_unittest.cc b/components/sync_preferences/pref_model_associator_unittest.cc
index dbfd06e7c5a97a51155ccebcdeea484a97304a73..22577e0b5af04755ef4449442acc0ab059e8dad8 100644
--- a/components/sync_preferences/pref_model_associator_unittest.cc
+++ b/components/sync_preferences/pref_model_associator_unittest.cc
@@ -81,9 +81,9 @@ class AbstractPreferenceMergeTest : public testing::Test {
pref_service_->FindPreference(pref_name.c_str());
ASSERT_TRUE(pref);
base::Value::Type type = pref->GetType();
- if (type == base::Value::TYPE_DICTIONARY)
+ if (type == base::Value::Type::DICTIONARY)
empty_value.reset(new base::DictionaryValue);
- else if (type == base::Value::TYPE_LIST)
+ else if (type == base::Value::Type::LIST)
empty_value.reset(new base::ListValue);
else
FAIL();
« no previous file with comments | « components/sync_preferences/pref_model_associator.cc ('k') | components/tracing/browser/trace_config_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698