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

Unified Diff: components/prefs/overlay_user_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: components/prefs/overlay_user_pref_store.cc
diff --git a/components/prefs/overlay_user_pref_store.cc b/components/prefs/overlay_user_pref_store.cc
index 48271fb01eb0d4792addf5ca847edbb30f03efbe..da30bb32fb28bedf7799cdd9a65257221abe7a48 100644
--- a/components/prefs/overlay_user_pref_store.cc
+++ b/components/prefs/overlay_user_pref_store.cc
@@ -168,6 +168,10 @@ void OverlayUserPrefStore::ClearMutableValues() {
overlay_.Clear();
}
+void OverlayUserPrefStore::CleanupForProfileDeletion() {
+ underlay_->CleanupForProfileDeletion();
+}
+
OverlayUserPrefStore::~OverlayUserPrefStore() {
underlay_->RemoveObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698