Index: components/ntp_snippets/ntp_snippets_service.cc |
diff --git a/components/ntp_snippets/ntp_snippets_service.cc b/components/ntp_snippets/ntp_snippets_service.cc |
index d906cbd13fa7bccba9fc12e2c1bf1c0e3e73d9c3..e87a9cf82225b6cee4233a852ec95c817b938ebb 100644 |
--- a/components/ntp_snippets/ntp_snippets_service.cc |
+++ b/components/ntp_snippets/ntp_snippets_service.cc |
@@ -31,6 +31,8 @@ |
#include "components/prefs/pref_service.h" |
#include "components/suggestions/proto/suggestions.pb.h" |
#include "components/variations/variations_associated_data.h" |
+#include "grit/components_strings.h" |
+#include "ui/base/l10n/l10n_util.h" |
#include "ui/gfx/image/image.h" |
using image_fetcher::ImageDecoder; |
@@ -274,6 +276,11 @@ std::vector<Category> NTPSnippetsService::GetProvidedCategories() { |
return std::vector<Category>({provided_category_}); |
} |
+CategoryInfo NTPSnippetsService::GetCategoryInfo(Category category) { |
+ return CategoryInfo( |
+ l10n_util::GetStringUTF16(IDS_NTP_ARTICLE_SUGGESTIONS_SECTION_HEADER)); |
+} |
+ |
void NTPSnippetsService::FetchSuggestionImage( |
const std::string& suggestion_id, |
const ImageFetchedCallback& callback) { |