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

Unified Diff: services/preferences/persistent_pref_store_impl.cc

Issue 2745563005: Pref service: add support for tracked prefs. (Closed)
Patch Set: deflake tests 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 ad85c96a68207a9b4669db504887957b7f2d860f..fe7e4b989d64f54c8b724d27922d4e489b005d06 100644
--- a/services/preferences/persistent_pref_store_impl.cc
+++ b/services/preferences/persistent_pref_store_impl.cc
@@ -74,10 +74,8 @@ class PersistentPrefStoreImpl::Connection : public mojom::PersistentPrefStore {
PersistentPrefStoreImpl::PersistentPrefStoreImpl(
scoped_refptr<PersistentPrefStore> backing_pref_store,
- mojom::TrackedPreferenceValidationDelegatePtr validation_delegate,
base::OnceClosure on_initialized)
- : backing_pref_store_(backing_pref_store),
- validation_delegate_(std::move(validation_delegate)) {
+ : backing_pref_store_(backing_pref_store) {
backing_pref_store_->AddObserver(this);
if (!backing_pref_store_->IsInitializationComplete()) {
on_initialized_ = std::move(on_initialized);

Powered by Google App Engine
This is Rietveld 408576698