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

Unified Diff: components/ntp_snippets/content_suggestions_provider.h

Issue 2280543003: Remove snippet_id from ImageFetchedCallback (Closed)
Patch Set: Created 4 years, 4 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/content_suggestions_provider.h
diff --git a/components/ntp_snippets/content_suggestions_provider.h b/components/ntp_snippets/content_suggestions_provider.h
index c7fcd056abacc51b0d30dabb2bef7d3d5ace1d67..36cc5fbfcd058bd91252c109309453c6d930247c 100644
--- a/components/ntp_snippets/content_suggestions_provider.h
+++ b/components/ntp_snippets/content_suggestions_provider.h
@@ -28,8 +28,7 @@ namespace ntp_snippets {
// shut down by the ContentSuggestionsService.
class ContentSuggestionsProvider {
public:
- using ImageFetchedCallback =
- base::Callback<void(const std::string& suggestion_id, const gfx::Image&)>;
+ using ImageFetchedCallback = base::Callback<void(const gfx::Image&)>;
using DismissedSuggestionsCallback = base::Callback<void(
std::vector<ContentSuggestion> dismissed_suggestions)>;

Powered by Google App Engine
This is Rietveld 408576698