Chromium Code Reviews| 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_ |