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

Unified Diff: chrome/browser/image_decoder.h

Issue 820673004: json_schema_compiler: Use std::vector<char> for binary values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_json_schema
Patch Set: Fix merge error. Created 5 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: chrome/browser/image_decoder.h
diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h
index a7d201834e915027aec0ab86fa889f1e371b39b2..2206dd9f454ebcbfc3a29674cf41e1d42eb594ee 100644
--- a/chrome/browser/image_decoder.h
+++ b/chrome/browser/image_decoder.h
@@ -43,6 +43,10 @@ class ImageDecoder : public content::UtilityProcessHostClient {
const std::string& image_data,
ImageCodec image_codec);
+ ImageDecoder(Delegate* delegate,
+ const std::vector<char>& image_data,
+ ImageCodec image_codec);
+
// Starts asynchronous image decoding. Once finished, the callback will be
// posted back to |task_runner|.
void Start(scoped_refptr<base::SequencedTaskRunner> task_runner);

Powered by Google App Engine
This is Rietveld 408576698