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

Unified Diff: chrome/browser/image_decoder.h

Issue 10892023: Force avatar and wallpaper decoding to use robust JPEG. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: chrome/browser/image_decoder.h
diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h
index 69caa43abde465d66bae86d5146571f2e95cf8ca..befc6a73a50dc0f95a27481ebfece3fbca879366 100644
--- a/chrome/browser/image_decoder.h
+++ b/chrome/browser/image_decoder.h
@@ -34,7 +34,8 @@ class ImageDecoder : public content::UtilityProcessHostClient {
};
ImageDecoder(Delegate* delegate,
- const std::string& image_data);
+ const std::string& image_data,
+ bool require_standard_jpeg);
// Starts image decoding.
void Start();
@@ -61,6 +62,7 @@ class ImageDecoder : public content::UtilityProcessHostClient {
Delegate* delegate_;
std::vector<unsigned char> image_data_;
+ bool require_standard_jpeg_;
oshima 2012/08/29 00:02:48 use_standard_jpeg_decoder_; would be better.
Emmanuel Saint-loubert-Bié 2012/08/29 00:52:52 Done.
content::BrowserThread::ID target_thread_id_;
DISALLOW_COPY_AND_ASSIGN(ImageDecoder);

Powered by Google App Engine
This is Rietveld 408576698