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

Unified Diff: services/preferences/tracked/pref_hash_filter.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
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 6467eb10dba6e7091984f0f92fda23c965f4f2a0..bdc9b621c9b7034d58ca4b1aa14a0104859096e4 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 OnStoreDeletionFromDisk() 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_;
« no previous file with comments | « services/preferences/tracked/interceptable_pref_filter.cc ('k') | services/preferences/tracked/pref_hash_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698