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

Unified Diff: components/image_fetcher/image_data_fetcher.cc

Issue 2652893005: Create the IOSImageDataFetcher (Closed)
Patch Set: Address comments Created 3 years, 11 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/image_fetcher/image_data_fetcher.cc
diff --git a/components/image_fetcher/image_data_fetcher.cc b/components/image_fetcher/image_data_fetcher.cc
index 708bf3affda5e8027eccded578519c39d67a2ed2..789c8ac2809e84a7fcfd7d55ca86f32c576def73 100644
--- a/components/image_fetcher/image_data_fetcher.cc
+++ b/components/image_fetcher/image_data_fetcher.cc
@@ -69,7 +69,7 @@ void ImageDataFetcher::OnURLFetchComplete(const net::URLFetcher* source) {
if (source->GetStatus().status() == net::URLRequestStatus::SUCCESS) {
source->GetResponseAsString(&image_data);
}
- request_iter->second->callback.Run(image_data);
+ request_iter->second->callback.Run(image_data, source);
// Remove the finished request.
pending_requests_.erase(request_iter);

Powered by Google App Engine
This is Rietveld 408576698