Chromium Code Reviews| Index: components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
| diff --git a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
| index 85457d2d8d568928e35f897e412e3415de495180..78002e4046316e2b52fdceade7ea4c225b37aa24 100644 |
| --- a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
| +++ b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
| @@ -64,6 +64,12 @@ CategoryStatus BookmarkSuggestionsProvider::GetCategoryStatus( |
| return category_status_; |
| } |
| +CategoryInfo BookmarkSuggestionsProvider::GetCategoryInfo(Category category) { |
| + // TODO(pke): Use the proper string once it's agreed on. |
| + return CategoryInfo(base::ASCIIToUTF16("Recent bookmarks"), |
|
Bernhard Bauer
2016/08/09 10:25:41
I think you could already now use a localized stri
Philipp Keck
2016/08/09 12:26:58
Done.
|
| + ContentSuggestionsCardLayout::MINIMAL_CARD); |
| +} |
| + |
| void BookmarkSuggestionsProvider::DismissSuggestion( |
| const std::string& suggestion_id) { |
| // TODO(jkrcal): Implement blacklisting bookmarks until they are next visited. |