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

Unified Diff: components/ntp_snippets/mock_content_suggestions_provider.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/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 007ecb162426710e1fce6008e9ff7059715ce197..5e0bbfad7788e02190bfb659f32f445cb0bac1f6 100644
--- a/components/ntp_snippets/mock_content_suggestions_provider.cc
+++ b/components/ntp_snippets/mock_content_suggestions_provider.cc
@@ -38,8 +38,7 @@ CategoryInfo MockContentSuggestionsProvider::GetCategoryInfo(
Category category) {
return CategoryInfo(base::ASCIIToUTF16("Section title"),
ContentSuggestionsCardLayout::FULL_CARD,
- /*has_fetch_action=*/true,
- /*has_view_all_action=*/true,
+ ContentSuggestionsAdditionalAction::FETCH,
/*show_if_empty=*/false,
base::ASCIIToUTF16("No suggestions message"));
}

Powered by Google App Engine
This is Rietveld 408576698