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

Unified Diff: components/prefs/pref_service.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/pref_filter.h ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/pref_service.h
diff --git a/components/prefs/pref_service.h b/components/prefs/pref_service.h
index 8b3371708247b14c0c71f4bf5d6fde80c130acab..4180ed6f0f389badf0dacfaa7f89e24a18e4464c 100644
--- a/components/prefs/pref_service.h
+++ b/components/prefs/pref_service.h
@@ -307,6 +307,10 @@ class COMPONENTS_PREFS_EXPORT PrefService {
// Clears mutable values.
void ClearMutableValues();
+ // Invoked when the store is deleted from disk. Allows this PrefService
+ // to tangentially cleanup data it may have saved outside the store.
+ void OnStoreDeletionFromDisk();
+
protected:
// The PrefNotifier handles registering and notifying preference observers.
// It is created and owned by this PrefService. Subclasses may access it for
« no previous file with comments | « components/prefs/pref_filter.h ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698