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

Unified Diff: components/ntp_snippets/content_suggestions_service_unittest.cc

Issue 2447163004: [NTP Snippets] Pass "no suggestions" message from the backend to the UI (Closed)
Patch Set: fix comment Created 4 years, 2 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/content_suggestions_service_unittest.cc
diff --git a/components/ntp_snippets/content_suggestions_service_unittest.cc b/components/ntp_snippets/content_suggestions_service_unittest.cc
index 8b27e51e62759cc71f60ab40f8d22909a887c13d..99d7a3fd0259b478e397167124398b0371f48247 100644
--- a/components/ntp_snippets/content_suggestions_service_unittest.cc
+++ b/components/ntp_snippets/content_suggestions_service_unittest.cc
@@ -60,7 +60,8 @@ class MockProvider : public ContentSuggestionsProvider {
CategoryInfo GetCategoryInfo(Category category) override {
return CategoryInfo(base::ASCIIToUTF16("Section title"),
- ContentSuggestionsCardLayout::FULL_CARD, true, true);
+ ContentSuggestionsCardLayout::FULL_CARD, true, true,
+ base::ASCIIToUTF16("No suggestions message"));
}
void FireSuggestionsChanged(
« no previous file with comments | « components/ntp_snippets/category_info.cc ('k') | components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698