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

Unified Diff: components/ntp_snippets/category_info.cc

Issue 2232783002: Support action button to fetch more content suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippetsbridge
Patch Set: Indent comments 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 213b2fae69d4d163181e5a82e760000b21c77505..9a03caf09545b0222fa74c7ddafcdd3b220bd73e 100644
--- a/components/ntp_snippets/category_info.cc
+++ b/components/ntp_snippets/category_info.cc
@@ -7,8 +7,11 @@
namespace ntp_snippets {
CategoryInfo::CategoryInfo(const base::string16& title,
- ContentSuggestionsCardLayout card_layout)
- : title_(title), card_layout_(card_layout) {}
+ ContentSuggestionsCardLayout card_layout,
+ bool has_more_button)
+ : title_(title),
+ card_layout_(card_layout),
+ has_more_button_(has_more_button) {}
CategoryInfo::~CategoryInfo() {}

Powered by Google App Engine
This is Rietveld 408576698