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

Unified Diff: components/prefs/persistent_pref_store.h

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/persistent_pref_store.h
diff --git a/components/prefs/persistent_pref_store.h b/components/prefs/persistent_pref_store.h
index 7bc28278be6082009ca5b20f4c00ab459d063ac2..f9fa08dc7a24769dfffc8a4f86285cf898e3247a 100644
--- a/components/prefs/persistent_pref_store.h
+++ b/components/prefs/persistent_pref_store.h
@@ -73,6 +73,9 @@ class COMPONENTS_PREFS_EXPORT PersistentPrefStore : public WriteablePrefStore {
// It should be called only for Incognito pref store.
virtual void ClearMutableValues() = 0;
+ // Cleans data stored outside of the profile directory.
gab 2017/06/08 16:14:28 Don't mention "profile". re-use formulation simil
proberge 2017/06/08 18:32:59 Done.
+ virtual void OnStoreDeletionFromDisk() = 0;
+
protected:
~PersistentPrefStore() override {}
};

Powered by Google App Engine
This is Rietveld 408576698