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

Unified Diff: services/preferences/tracked/pref_hash_filter.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: services/preferences/tracked/pref_hash_filter.h
diff --git a/services/preferences/tracked/pref_hash_filter.h b/services/preferences/tracked/pref_hash_filter.h
index 4c3cdaa4996a46f9486cfc41c1a4aee7792370b5..bfb5a33021ed1b92dc14c83e3b63b78bf66b2714 100644
--- a/services/preferences/tracked/pref_hash_filter.h
+++ b/services/preferences/tracked/pref_hash_filter.h
@@ -92,6 +92,8 @@ class PrefHashFilter : public InterceptablePrefFilter {
OnWriteCallbackPair FilterSerializeData(
base::DictionaryValue* pref_store_contents) override;
+ void CleanupForProfileDeletion() override;
+
private:
// InterceptablePrefFilter implementation.
void FinalizeFilterOnLoad(
@@ -137,7 +139,7 @@ class PrefHashFilter : public InterceptablePrefFilter {
// A store and contents on which to perform extra validations without
// triggering resets.
// Will be null if the platform does not support external validation.
- const base::Optional<StoreContentsPair> external_validation_hash_store_pair_;
+ base::Optional<StoreContentsPair> external_validation_hash_store_pair_;
// Notified if a reset occurs in a call to FilterOnLoad.
prefs::mojom::ResetOnLoadObserverPtr reset_on_load_observer_;

Powered by Google App Engine
This is Rietveld 408576698