Chromium Code Reviews| Index: components/ntp_snippets/content_suggestions_service.h |
| diff --git a/components/ntp_snippets/content_suggestions_service.h b/components/ntp_snippets/content_suggestions_service.h |
| index 488aeab7388c3e1219a5eca831d327b0b2f6d5ce..f2e3397161cb29ddacb0f851ae982b477fca25f9 100644 |
| --- a/components/ntp_snippets/content_suggestions_service.h |
| +++ b/components/ntp_snippets/content_suggestions_service.h |
| @@ -78,6 +78,9 @@ class ContentSuggestionsService : public KeyedService, |
| // Gets the status of a category. |
| CategoryStatus GetCategoryStatus(Category category) const; |
|
PEConn
2016/08/04 12:08:39
Why by value instead of const reference?
Philipp Keck
2016/08/04 14:17:43
Because CategoryStatus is an enum.
In case you me
|
| + // Gets the meta information of a category. |
| + CategoryInfo GetCategoryInfo(Category category) const; |
| + |
| // Gets the available suggestions for a category. The result is empty if the |
| // category is available and empty, but also if the category is unavailable |
| // for any reason, see |GetCategoryStatus()|. |