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

Unified Diff: chrome/browser/profiles/profile_statistics_aggregator.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: chrome/browser/profiles/profile_statistics_aggregator.cc
diff --git a/chrome/browser/profiles/profile_statistics_aggregator.cc b/chrome/browser/profiles/profile_statistics_aggregator.cc
index 10b972870114cd61cc2a7511640e05d305791c53..e3582be32006c73315bfa8af382e87adf68a2e3c 100644
--- a/chrome/browser/profiles/profile_statistics_aggregator.cc
+++ b/chrome/browser/profiles/profile_statistics_aggregator.cc
@@ -225,7 +225,7 @@ ProfileStatisticsAggregator::ProfileStatValue
const PrefService::Preference* pref = pref_service->
FindPreference(it.key());
// Skip all dictionaries (which must be empty by the function call above).
- if (it.value().GetType() != base::Value::TYPE_DICTIONARY &&
+ if (it.value().GetType() != base::Value::Type::DICTIONARY &&
pref && pref->IsUserControlled() && !pref->IsDefaultValue()) {
++count;
}

Powered by Google App Engine
This is Rietveld 408576698