Index: components/ntp_snippets/content_suggestions_provider.h |
diff --git a/components/ntp_snippets/content_suggestions_provider.h b/components/ntp_snippets/content_suggestions_provider.h |
index bdf16229695b8bf3aa18be9f754532ea69590df0..dea83e7cc5b45dd52797285617dd9e554db28902 100644 |
--- a/components/ntp_snippets/content_suggestions_provider.h |
+++ b/components/ntp_snippets/content_suggestions_provider.h |
@@ -104,6 +104,12 @@ class ContentSuggestionsProvider { |
const std::set<std::string>& known_suggestion_ids, |
const FetchDoneCallback& callback) = 0; |
+ // Reloads suggestions from all categories. If the suggestions change, the |
+ // observer must be notified via OnNewSuggestions(); |
+ // TODO(jkcal): make pure virtual (involves touching all providers) or remove |
+ // by resolving the pull/push dichotomy. |
+ virtual void ReloadSuggestions() {} |
+ |
// Removes history from the specified time range where the URL matches the |
// |filter|. The data removed depends on the provider. Note that the |
// data outside the time range may be deleted, for example suggestions, which |