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

Unified Diff: components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc

Issue 2466863003: Finalize backend for fetching more NTPSnippets. (Closed)
Patch Set: Known suggestion are now a parameter for Fetch. Created 4 years, 1 month 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/offline_pages/recent_tab_suggestions_provider.cc
diff --git a/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc b/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc
index 403a5609a809adde793e7d70f23e50f5eb2808f3..fcfb60c6e209045e5003f8729090b63d94972615 100644
--- a/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc
+++ b/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc
@@ -101,9 +101,11 @@ void RecentTabSuggestionsProvider::FetchSuggestionImage(
FROM_HERE, base::Bind(callback, gfx::Image()));
}
-void RecentTabSuggestionsProvider::FetchMore(const Category& category,
- FetchedMoreCallback callback) {
- // Ignored.
+void RecentTabSuggestionsProvider::Fetch(
+ const Category& category,
+ std::set<std::string> known_suggestion_ids,
+ FetchingCallback callback) {
+ NOTREACHED();
}
void RecentTabSuggestionsProvider::ClearHistory(

Powered by Google App Engine
This is Rietveld 408576698