Index: base/prefs/pref_filter.h |
diff --git a/base/prefs/pref_filter.h b/base/prefs/pref_filter.h |
index 0cf78a93f3604b6ecdcbcfb23f4fb28af924a5ac..ce07f929c7a7fc94f1569f66d3e403eee0f3c355 100644 |
--- a/base/prefs/pref_filter.h |
+++ b/base/prefs/pref_filter.h |
@@ -24,7 +24,9 @@ class BASE_PREFS_EXPORT PrefFilter { |
// Observers are notified. |
// Changes made by a PrefFilter during FilterOnLoad do not result in |
// notifications to |PrefStore::Observer|s. |
- virtual void FilterOnLoad(base::DictionaryValue* pref_store_contents) = 0; |
+ // Implementations should return true if they modify the dictionary, to allow |
+ // the changes to be persisted. |
+ virtual bool FilterOnLoad(base::DictionaryValue* pref_store_contents) = 0; |
// Receives notification when a pref store value is changed, before Observers |
// are notified. |