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

Unified Diff: components/image_fetcher/image_data_fetcher.h

Issue 2687873002: Use mime type for image extension (Closed)
Patch Set: 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/image_data_fetcher.h
diff --git a/components/image_fetcher/image_data_fetcher.h b/components/image_fetcher/image_data_fetcher.h
index 5383086a519b2aa37324ab4335a5df99ef229d1e..c4d72d1438c18ca622e7cf3374aeb557c6514ed3 100644
--- a/components/image_fetcher/image_data_fetcher.h
+++ b/components/image_fetcher/image_data_fetcher.h
@@ -27,7 +27,8 @@ namespace image_fetcher {
class ImageDataFetcher : public net::URLFetcherDelegate {
public:
using ImageDataFetcherCallback =
- base::Callback<void(const std::string& image_data)>;
+ base::Callback<void(const std::string& image_data,
+ const std::string& mime_type)>;
Marc Treib 2017/02/09 12:34:45 Your other pending CL adds a response_code paramet
gambard 2017/02/09 13:44:12 Good idea!
using DataUseServiceName = data_use_measurement::DataUseUserData::ServiceName;
« no previous file with comments | « no previous file | components/image_fetcher/image_data_fetcher.cc » ('j') | components/image_fetcher/image_data_fetcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698