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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_bridge.cc

Issue 2663313002: 📰 Merge the has_fetch_more and has_reload actions (Closed)
Patch Set: fix tests pt 2 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: chrome/browser/android/ntp/ntp_snippets_bridge.cc
diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.cc b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
index 3bc97fa3c030a85f12eb2410b109d423fea1a917..9e11a96787eeb1c3f6c6b9fa1e8d76fa26f55b2b 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.cc
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
@@ -203,9 +203,8 @@ base::android::ScopedJavaLocalRef<jobject> NTPSnippetsBridge::GetCategoryInfo(
}
return Java_SnippetsBridge_createSuggestionsCategoryInfo(
env, j_category_id, ConvertUTF16ToJavaString(env, info->title()),
- static_cast<int>(info->card_layout()), info->has_more_action(),
- info->has_reload_action(), info->has_view_all_action(),
- info->show_if_empty(),
+ static_cast<int>(info->card_layout()), info->has_fetch_action(),
+ info->has_view_all_action(), info->show_if_empty(),
ConvertUTF16ToJavaString(env, info->no_suggestions_message()));
}

Powered by Google App Engine
This is Rietveld 408576698