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 066ea1e1f23d9ae4c9756a598c91f750e38abb49..48afb2167ff0f70817ab401fb166f0f70a7036e0 100644 |
--- a/components/ntp_snippets/content_suggestions_provider.h |
+++ b/components/ntp_snippets/content_suggestions_provider.h |
@@ -9,7 +9,9 @@ |
#include <vector> |
#include "base/callback_forward.h" |
+#include "base/strings/string16.h" |
Marc Treib
2016/08/04 09:46:29
Not required here
Philipp Keck
2016/08/04 11:48:18
Done.
|
#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 +79,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 |