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

Unified Diff: components/user_prefs/tracked/pref_hash_filter.cc

Issue 2752533002: Convert PrefHashFilter enums to enum class. (Closed)
Patch Set: Created 3 years, 9 months 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/user_prefs/tracked/pref_hash_filter.cc
diff --git a/components/user_prefs/tracked/pref_hash_filter.cc b/components/user_prefs/tracked/pref_hash_filter.cc
index 8056b7490d603ade79454782198c7bf81aecc8c0..44a8ec511b4123d45b13a4380bf28c3d5d8db2d3 100644
--- a/components/user_prefs/tracked/pref_hash_filter.cc
+++ b/components/user_prefs/tracked/pref_hash_filter.cc
@@ -78,7 +78,7 @@ PrefHashFilter::PrefHashFilter(
std::unique_ptr<TrackedPreference> tracked_preference;
switch (metadata.strategy) {
- case TRACKING_STRATEGY_ATOMIC:
+ case PrefTrackingStrategy::ATOMIC:
tracked_preference.reset(
new TrackedAtomicPreference(metadata.name,
metadata.reporting_id,
@@ -87,7 +87,7 @@ PrefHashFilter::PrefHashFilter(
metadata.value_type,
delegate));
break;
- case TRACKING_STRATEGY_SPLIT:
+ case PrefTrackingStrategy::SPLIT:
tracked_preference.reset(
new TrackedSplitPreference(metadata.name,
metadata.reporting_id,
« no previous file with comments | « components/user_prefs/tracked/pref_hash_filter.h ('k') | components/user_prefs/tracked/pref_hash_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698