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

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

Issue 2722483005: Change configuration of user prefs to use mojo. (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/tracked_preference_helper.cc
diff --git a/components/user_prefs/tracked/tracked_preference_helper.cc b/components/user_prefs/tracked/tracked_preference_helper.cc
index fb36a2a1518f409b6b6f4b386b8a7aabb7eac340..b0415c46ffa7028e4e49b8e7ff7bd8bcf3591511 100644
--- a/components/user_prefs/tracked/tracked_preference_helper.cc
+++ b/components/user_prefs/tracked/tracked_preference_helper.cc
@@ -18,9 +18,9 @@ TrackedPreferenceHelper::TrackedPreferenceHelper(
: pref_path_(pref_path),
reporting_id_(reporting_id),
reporting_ids_count_(reporting_ids_count),
- enforce_(enforcement_level == PrefHashFilter::ENFORCE_ON_LOAD),
- personal_(value_type == PrefHashFilter::VALUE_PERSONAL) {
-}
+ enforce_(enforcement_level ==
+ PrefHashFilter::EnforcementLevel::ENFORCE_ON_LOAD),
+ personal_(value_type == PrefHashFilter::ValueType::PERSONAL) {}
TrackedPreferenceHelper::ResetAction TrackedPreferenceHelper::GetAction(
PrefHashStoreTransaction::ValueState value_state) const {
« no previous file with comments | « components/user_prefs/tracked/pref_hash_filter_unittest.cc ('k') | services/preferences/public/cpp/user_prefs_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698