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

Unified Diff: components/prefs/pref_service.h

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/pref_service.h
diff --git a/components/prefs/pref_service.h b/components/prefs/pref_service.h
index a360afa44acccffed83987110e086ae7c2ff70fd..724fc52e101dbe80072233a8e657136da1e80d4c 100644
--- a/components/prefs/pref_service.h
+++ b/components/prefs/pref_service.h
@@ -307,6 +307,10 @@ class COMPONENTS_PREFS_EXPORT PrefService : public base::NonThreadSafe {
// Clears mutable values.
void ClearMutableValues();
+ // Called during profile deletion to allow for deletion of pref-related data
+ // stored outside of the profile directory.
+ void CleanupForProfileDeletion();
gab 2017/06/05 17:28:57 // Invoked when the store is deleted from disk. Al
proberge 2017/06/05 21:22:11 Done.
+
protected:
// The PrefNotifier handles registering and notifying preference observers.
// It is created and owned by this PrefService. Subclasses may access it for

Powered by Google App Engine
This is Rietveld 408576698