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

Unified Diff: components/prefs/persistent_pref_store.h

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
« no previous file with comments | « components/prefs/overlay_user_pref_store.cc ('k') | components/prefs/pref_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/persistent_pref_store.h
diff --git a/components/prefs/persistent_pref_store.h b/components/prefs/persistent_pref_store.h
index b3ff5f466c4c4259a25596b05f76c9775fec6331..3be5816a53b5929ed06aebd5e8da746105e4ee61 100644
--- a/components/prefs/persistent_pref_store.h
+++ b/components/prefs/persistent_pref_store.h
@@ -79,6 +79,9 @@ class COMPONENTS_PREFS_EXPORT PersistentPrefStore : public WriteablePrefStore {
// It should be called only for Incognito pref store.
virtual void ClearMutableValues() = 0;
+ // Cleans preference data that may have been saved outside of the store.
+ virtual void OnStoreDeletionFromDisk() = 0;
+
protected:
~PersistentPrefStore() override {}
};
« no previous file with comments | « components/prefs/overlay_user_pref_store.cc ('k') | components/prefs/pref_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698