Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 2276383002: Support server-provided category names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Move "ignored" comment. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/ntp_snippets_service.h
diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
index b0ce9d1d91864af54789da921d74952d58212fa3..024e6ad53d0bd826647b39f408cf10de86c61b9c 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -295,6 +295,9 @@ class NTPSnippetsService : public ContentSuggestionsProvider,
struct CategoryContent {
tschumann 2016/08/29 09:59:53 this struct has some overlap with CategoryInfo. Wo
Michael van Ouwerkerk 2016/09/08 13:03:27 I've added a TODO to consider this for a followup
CategoryStatus status = CategoryStatus::INITIALIZING;
+ // The title of the section, localized to the running UI language.
+ base::string16 localized_title;
+
// True iff the server returned results in this category in the last fetch.
// We never remove categories that the server still provides, but if the
// server stops providing a category, we won't yet report it as NOT_PROVIDED

Powered by Google App Engine
This is Rietveld 408576698