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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_provider_impl.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/remote/remote_suggestions_provider_impl.cc
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc b/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc
index 719a46b70aa1238a0ce1ee60b8afabec764f9425..14593863abc74ca00abd5ddfeb6dc638c813dff2 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc
@@ -1256,7 +1256,7 @@ void RemoteSuggestionsProviderImpl::StoreCategoriesToPrefs() {
dict->SetBoolean(kCategoryContentProvidedByServer,
content.included_in_last_server_response);
dict->SetBoolean(kCategoryContentAllowFetchingMore,
- content.info.has_more_action());
+ content.info.has_fetch_action());
list.Append(std::move(dict));
}
// Finally, store the result in the pref service.

Powered by Google App Engine
This is Rietveld 408576698