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

Unified Diff: chrome/browser/ntp_snippets/download_suggestions_provider.h

Issue 2473483006: Adds a Fetch() method to the ContentSuggestionService which asks any provider to provide more conte… (Closed)
Patch Set: comments by Markus. 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: chrome/browser/ntp_snippets/download_suggestions_provider.h
diff --git a/chrome/browser/ntp_snippets/download_suggestions_provider.h b/chrome/browser/ntp_snippets/download_suggestions_provider.h
index 7582c99aa6fd9477f621265fd8f91b682b374ddc..50d36f7e37d3c9720b06f8c7a9d06c58ee4378a4 100644
--- a/chrome/browser/ntp_snippets/download_suggestions_provider.h
+++ b/chrome/browser/ntp_snippets/download_suggestions_provider.h
@@ -61,6 +61,9 @@ class DownloadSuggestionsProvider
void FetchSuggestionImage(
const ntp_snippets::ContentSuggestion::ID& suggestion_id,
const ImageFetchedCallback& callback) override;
+ void Fetch(const ntp_snippets::Category& category,
+ const std::set<std::string>& known_suggestion_ids,
+ FetchingCallback callback) override;
void ClearHistory(
base::Time begin,
base::Time end,

Powered by Google App Engine
This is Rietveld 408576698