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

Unified Diff: services/preferences/persistent_pref_store_impl.cc

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Update comments Created 3 years, 4 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 09357e3cc6ddc5e2634c8af0dbd7bc4d404ea7b2..af8252b073409bccb36df7ef4bbb09e564ead2d8 100644
--- a/services/preferences/persistent_pref_store_impl.cc
+++ b/services/preferences/persistent_pref_store_impl.cc
@@ -136,6 +136,9 @@ class PersistentPrefStoreImpl::Connection : public mojom::PersistentPrefStore {
pref_store_->SchedulePendingLossyWrites();
}
void ClearMutableValues() override { pref_store_->ClearMutableValues(); }
+ void OnStoreDeletionFromDisk() override {
+ pref_store_->OnStoreDeletionFromDisk();
+ }
void OnConnectionError() { pref_store_->OnConnectionError(this); }
@@ -281,6 +284,10 @@ void PersistentPrefStoreImpl::ClearMutableValues() {
backing_pref_store_->ClearMutableValues();
}
+void PersistentPrefStoreImpl::OnStoreDeletionFromDisk() {
+ backing_pref_store_->OnStoreDeletionFromDisk();
+}
+
void PersistentPrefStoreImpl::OnConnectionError(Connection* connection) {
connections_.erase(connection);
}
« no previous file with comments | « services/preferences/persistent_pref_store_impl.h ('k') | services/preferences/pref_store_consistency_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698