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 2f343a47dc4bf918334e9eea8d58026f078bf55b..99f2e5de6a8646819852006ce1fdecb9191bc9a4 100644 |
--- a/components/ntp_snippets/content_suggestions_provider.h |
+++ b/components/ntp_snippets/content_suggestions_provider.h |
@@ -81,6 +81,12 @@ class ContentSuggestionsProvider { |
// Returns the meta information for the given |category|. |
virtual CategoryInfo GetCategoryInfo(Category category) = 0; |
+ // Triggers a fetch for new suggestions (over the network, for example) for |
+ // the given |category|. This must be initiated by the user (e.g. by clicking |
+ // the a "More" button). New suggestions will become available through |
Marc Treib
2016/08/10 09:40:31
nit: remove "a"
Philipp Keck
2016/08/10 13:14:46
Done.
|
+ // |Observer::OnNewSuggestions|. |
+ virtual void FetchMoreSuggestions(Category category) = 0; |
Marc Treib
2016/08/10 09:40:31
Hm. For now, we don't expect this method to ever a
Philipp Keck
2016/08/10 13:14:46
Acknowledged.
We could, instead, put sth. like a
|
+ |
// Dismisses the suggestion with the given ID. A provider needs to ensure that |
// a once-dismissed suggestion is never delivered again (through the |
// Observer). The provider must not call Observer::OnSuggestionsChanged if the |