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

Unified Diff: components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h

Issue 2677993002: Use IOSImageDataFetcherWrapper for favicon (Closed)
Patch Set: Actually adding the header Created 3 years, 10 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/ios/ios_image_data_fetcher_wrapper.h
diff --git a/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h b/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h
index 9c1c814639a8a08468a118bd6f6e0035063f8157..4b6e0b67ef1fd87fead077ee3c58a01e0526dcb6 100644
--- a/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h
+++ b/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h
@@ -23,7 +23,9 @@ class GURL;
namespace image_fetcher {
-// Callback that informs of the download of an image encoded in |data|.
+// Callback that informs of the download of an image encoded in |data| and the
+// associated metadata. If an error prevented a http response,
+// |metadata.http_response_code| will be RESPONSE_CODE_INVALID.
using IOSImageDataFetcherCallback = void (^)(NSData* data,
const RequestMetadata& metadata);
« no previous file with comments | « components/image_fetcher/image_data_fetcher_unittest.cc ('k') | components/image_fetcher/request_metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698