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

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

Issue 2757643002: components/image_fetcher: Expose RequestMetadata from ImageFetcher (Closed)
Patch Set: fix CrOS 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 81acdbe0ee5d36c45e6007c02c50a04a9b73837c..e1de36410cc507286b0035dab31dfd53a8367c87 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