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

Unified Diff: services/preferences/tracked/segregated_pref_store.cc

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Created 3 years, 7 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/tracked/segregated_pref_store.cc
diff --git a/services/preferences/tracked/segregated_pref_store.cc b/services/preferences/tracked/segregated_pref_store.cc
index af7349e0382f6a9ba07df994d017d85ac762eef8..c2a3a587314c2c15a24e6cc76819162e6a6dd171 100644
--- a/services/preferences/tracked/segregated_pref_store.cc
+++ b/services/preferences/tracked/segregated_pref_store.cc
@@ -174,6 +174,11 @@ void SegregatedPrefStore::ClearMutableValues() {
NOTIMPLEMENTED();
}
+void SegregatedPrefStore::CleanupForProfileDeletion() {
+ default_pref_store_->CleanupForProfileDeletion();
+ selected_pref_store_->CleanupForProfileDeletion();
+}
+
SegregatedPrefStore::~SegregatedPrefStore() {
default_pref_store_->RemoveObserver(&aggregating_observer_);
selected_pref_store_->RemoveObserver(&aggregating_observer_);
« components/prefs/pref_service.h ('K') | « services/preferences/tracked/segregated_pref_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698