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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_provider_impl.cc

Issue 2757643002: components/image_fetcher: Expose RequestMetadata from ImageFetcher (Closed)
Patch Set: logo_bridge Created 3 years, 9 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 4fbdd8c27a98be54cb18d040efe0bdee5dc1bd9e..eba4dda04ebb8442ea1d740120c4d246b4542079 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_impl.cc
@@ -194,7 +194,8 @@ void CachedImageFetcher::OnImageDataFetched(
void CachedImageFetcher::OnImageDecodingDone(
const ImageFetchedCallback& callback,
const std::string& id_within_category,
- const gfx::Image& image) {
+ const gfx::Image& image,
+ const image_fetcher::RequestMetadata& metadata) {
callback.Run(image);
}

Powered by Google App Engine
This is Rietveld 408576698