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

Unified Diff: components/prefs/overlay_user_pref_store.cc

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Try loading unloaded profiles before calling OnStoreDeletionFromDisk Created 3 years, 6 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 a4d21cda48e0c81c10f59f00284e916f8ff3fbae..997e1e00441d89b010ff39f3fbb804a8edd35766 100644
--- a/components/prefs/overlay_user_pref_store.cc
+++ b/components/prefs/overlay_user_pref_store.cc
@@ -197,6 +197,10 @@ void OverlayUserPrefStore::ClearMutableValues() {
}
}
+void OverlayUserPrefStore::OnStoreDeletionFromDisk() {
+ underlay_->OnStoreDeletionFromDisk();
+}
+
OverlayUserPrefStore::~OverlayUserPrefStore() {
overlay_->RemoveObserver(overlay_observer_.get());
underlay_->RemoveObserver(underlay_observer_.get());

Powered by Google App Engine
This is Rietveld 408576698