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

Unified Diff: chrome/browser/image_decoder.h

Issue 16703003: Remove trampoline between threads in SupportedImageTypeValidator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/image_decoder.h
diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h
index 4a7dfda542f0ecc4d8c76f5423112ed3419179d1..f2cca72f4946340bcaa865c93b9ef3d9aeac338c 100644
--- a/chrome/browser/image_decoder.h
+++ b/chrome/browser/image_decoder.h
@@ -43,7 +43,8 @@ class ImageDecoder : public content::UtilityProcessHostClient {
const std::string& image_data,
ImageCodec image_codec);
- // Starts image decoding on current thread of |task_runner|.
+ // Starts asynchronous image decoding. Once finished, the callback will be
+ // posted back to |task_runner|.
void Start(scoped_refptr<base::SequencedTaskRunner> task_runner);
const std::vector<unsigned char>& get_image_data() const {
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698