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

Unified Diff: components/prefs/pref_filter.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/pref_filter.h
diff --git a/components/prefs/pref_filter.h b/components/prefs/pref_filter.h
index 9bc2244b412d5d8e0ec9e7ed4118d30144271e53..eb0f9375a8d91240dcff43ef62747c91c545cf7d 100644
--- a/components/prefs/pref_filter.h
+++ b/components/prefs/pref_filter.h
@@ -58,6 +58,9 @@ class COMPONENTS_PREFS_EXPORT PrefFilter {
// must not be bound to thread-unsafe member state).
virtual OnWriteCallbackPair FilterSerializeData(
base::DictionaryValue* pref_store_contents) = 0;
+
+ // Cleans data stored outside of the profile directory.
gab 2017/06/08 16:14:28 ditto
proberge 2017/06/08 18:32:59 Done.
+ virtual void OnStoreDeletionFromDisk() = 0;
};
#endif // COMPONENTS_PREFS_PREF_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698