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

Unified Diff: components/ntp_snippets/category_info.cc

Issue 2751093003: Unifies the additional actions for Categories (Closed)
Patch Set: Fix compilation on Android (hopefully) Created 3 years, 9 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 e8b32ea52a1f60cdfc03096c1ebef4e21c9919f2..51346473b3cf53394070ef9f33a9568e35cb2f0b 100644
--- a/components/ntp_snippets/category_info.cc
+++ b/components/ntp_snippets/category_info.cc
@@ -8,14 +8,12 @@ namespace ntp_snippets {
CategoryInfo::CategoryInfo(const base::string16& title,
ContentSuggestionsCardLayout card_layout,
- bool has_fetch_action,
- bool has_view_all_action,
+ ContentSuggestionsAdditionalAction additional_action,
bool show_if_empty,
const base::string16& no_suggestions_message)
: title_(title),
card_layout_(card_layout),
- has_fetch_action_(has_fetch_action),
- has_view_all_action_(has_view_all_action),
+ additional_action_(additional_action),
show_if_empty_(show_if_empty),
no_suggestions_message_(no_suggestions_message) {}
« 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