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 ed99a396906f1d9a77b59eeaa01db226c8808ced..52200626d34870bc2892cfde07b770e3894df07a 100644 |
--- a/components/ntp_snippets/content_suggestions_provider.h |
+++ b/components/ntp_snippets/content_suggestions_provider.h |
@@ -10,6 +10,7 @@ |
#include "base/callback_forward.h" |
#include "components/ntp_snippets/category.h" |
+#include "components/ntp_snippets/category_info.h" |
#include "components/ntp_snippets/category_status.h" |
#include "components/ntp_snippets/content_suggestion.h" |
@@ -77,6 +78,9 @@ class ContentSuggestionsProvider { |
// Determines the status of the given |category|, see CategoryStatus. |
virtual CategoryStatus GetCategoryStatus(Category category) = 0; |
+ // Returns the meta information for the given |category|. |
+ virtual CategoryInfo GetCategoryInfo(Category category) = 0; |
+ |
// 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 |