| 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..72849f36a351a0712c523f011b075b1227c8898d 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
|
|
|