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

Unified Diff: components/ntp_snippets/category_info.cc

Issue 2249903003: 📰 Empty state handling for the Bookmarks section (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix instrumentation test 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/category_info.cc
diff --git a/components/ntp_snippets/category_info.cc b/components/ntp_snippets/category_info.cc
index 9a03caf09545b0222fa74c7ddafcdd3b220bd73e..5aa5a9dc94439eb5ec055a2773e4c0f33ec625d8 100644
--- a/components/ntp_snippets/category_info.cc
+++ b/components/ntp_snippets/category_info.cc
@@ -8,10 +8,12 @@ namespace ntp_snippets {
CategoryInfo::CategoryInfo(const base::string16& title,
ContentSuggestionsCardLayout card_layout,
- bool has_more_button)
+ bool has_more_button,
+ bool show_if_empty)
: title_(title),
card_layout_(card_layout),
- has_more_button_(has_more_button) {}
+ has_more_button_(has_more_button),
+ show_if_empty_(show_if_empty) {}
CategoryInfo::~CategoryInfo() {}
« no previous file with comments | « components/ntp_snippets/category_info.h ('k') | components/ntp_snippets/content_suggestions_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698