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

Unified Diff: components/ntp_snippets/mock_content_suggestions_provider.cc

Issue 2663313002: 📰 Merge the has_fetch_more and has_reload actions (Closed)
Patch Set: rebase Created 3 years, 11 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/mock_content_suggestions_provider.cc
diff --git a/components/ntp_snippets/mock_content_suggestions_provider.cc b/components/ntp_snippets/mock_content_suggestions_provider.cc
index 02c99b65a273975704557e2c7f869b4b7a39b68c..007ecb162426710e1fce6008e9ff7059715ce197 100644
--- a/components/ntp_snippets/mock_content_suggestions_provider.cc
+++ b/components/ntp_snippets/mock_content_suggestions_provider.cc
@@ -37,8 +37,10 @@ CategoryStatus MockContentSuggestionsProvider::GetCategoryStatus(
CategoryInfo MockContentSuggestionsProvider::GetCategoryInfo(
Category category) {
return CategoryInfo(base::ASCIIToUTF16("Section title"),
- ContentSuggestionsCardLayout::FULL_CARD, true, false,
- true, false,
+ ContentSuggestionsCardLayout::FULL_CARD,
+ /*has_fetch_action=*/true,
+ /*has_view_all_action=*/true,
+ /*show_if_empty=*/false,
base::ASCIIToUTF16("No suggestions message"));
}

Powered by Google App Engine
This is Rietveld 408576698