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

Unified Diff: services/preferences/persistent_pref_store_impl.cc

Issue 2799043003: Revert of Pref service: add support for tracked prefs. (Closed)
Patch Set: Created 3 years, 8 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: services/preferences/persistent_pref_store_impl.cc
diff --git a/services/preferences/persistent_pref_store_impl.cc b/services/preferences/persistent_pref_store_impl.cc
index fe7e4b989d64f54c8b724d27922d4e489b005d06..ad85c96a68207a9b4669db504887957b7f2d860f 100644
--- a/services/preferences/persistent_pref_store_impl.cc
+++ b/services/preferences/persistent_pref_store_impl.cc
@@ -74,8 +74,10 @@
PersistentPrefStoreImpl::PersistentPrefStoreImpl(
scoped_refptr<PersistentPrefStore> backing_pref_store,
+ mojom::TrackedPreferenceValidationDelegatePtr validation_delegate,
base::OnceClosure on_initialized)
- : backing_pref_store_(backing_pref_store) {
+ : backing_pref_store_(backing_pref_store),
+ validation_delegate_(std::move(validation_delegate)) {
backing_pref_store_->AddObserver(this);
if (!backing_pref_store_->IsInitializationComplete()) {
on_initialized_ = std::move(on_initialized);
« no previous file with comments | « services/preferences/persistent_pref_store_impl.h ('k') | services/preferences/persistent_pref_store_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698