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

Unified Diff: components/prefs/pref_filter.h

Issue 2204943002: Integrate registry_hash_store_contents with the rest of tracked prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Experiment with giving two transactions to EnforceAndReport Created 4 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: components/prefs/pref_filter.h
diff --git a/components/prefs/pref_filter.h b/components/prefs/pref_filter.h
index 6ca2197618329bc12a2bd26bf4eaa3c0822b8138..dc649fcedc87abe190062c7cc40de2e30b9d64f1 100644
--- a/components/prefs/pref_filter.h
+++ b/components/prefs/pref_filter.h
@@ -51,6 +51,10 @@ class COMPONENTS_PREFS_EXPORT PrefFilter {
// in-memory state.
virtual void FilterSerializeData(
base::DictionaryValue* pref_store_contents) = 0;
+
+ // Returns a callback which should be called once the pref_store is written.
+ virtual base::Closure GetPostSerializeCallback(
+ base::DictionaryValue* pref_store_contents) = 0;
gab 2016/08/03 18:19:34 Instead of forcing the caller to call this in a pa
proberge 2016/08/04 00:13:45 Done.
};
#endif // COMPONENTS_PREFS_PREF_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698