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 8d941943475b434a3da0a0d90691e2cd097b4d4a..9e6cec9f339eb35c4ca95e8782c259213556235e 100644 |
--- a/components/ntp_snippets/content_suggestions_provider.h |
+++ b/components/ntp_snippets/content_suggestions_provider.h |
@@ -104,6 +104,13 @@ class ContentSuggestionsProvider { |
const std::set<std::string>& known_suggestion_ids, |
const FetchDoneCallback& callback) = 0; |
+ // Reloads suggestions from all categories. Makes sense to call only after |
tschumann
2016/12/15 19:27:00
Can we find a better name for this method? To me i
jkrcal
2016/12/19 09:40:24
Removed the comment.
As regards naming, this is
|
+ // some suggestions have been dismissed. The provider may fill in the vacant |
+ // space by new suggestions that haven't been included previously due to space |
+ // limits. If this happens, the observer must be notified via |
+ // OnNewSuggestions(); |
+ virtual void ReloadSuggestions() {} |
tschumann
2016/12/15 19:27:00
hm... we should make this pure virtual -- add a TO
jkrcal
2016/12/19 09:40:24
Done.
|
+ |
// 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 |