| Index: chrome/browser/image_decoder.h
|
| diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h
|
| index 2206dd9f454ebcbfc3a29674cf41e1d42eb594ee..b1b22e358ddf3bcb40ccadc49f178b2dfc9a0eee 100644
|
| --- a/chrome/browser/image_decoder.h
|
| +++ b/chrome/browser/image_decoder.h
|
| @@ -15,7 +15,9 @@
|
|
|
| class SkBitmap;
|
|
|
| -// Decodes an image in a sandboxed process.
|
| +// Decodes an image in a sandboxed process. This class is deprecated and will be
|
| +// removed once crbug.com/<TODO(twellington): fill this in once deprecation is
|
| +// approved and bug is created> is resolved. Use ImageBatchDecoder instead.
|
| class ImageDecoder : public content::UtilityProcessHostClient {
|
| public:
|
| class Delegate {
|
| @@ -66,8 +68,8 @@ class ImageDecoder : public content::UtilityProcessHostClient {
|
| bool OnMessageReceived(const IPC::Message& message) override;
|
|
|
| // IPC message handlers.
|
| - void OnDecodeImageSucceeded(const SkBitmap& decoded_image);
|
| - void OnDecodeImageFailed();
|
| + void OnDecodeImageSucceeded(const SkBitmap& decoded_image, int id);
|
| + void OnDecodeImageFailed(int id);
|
|
|
| // Launches sandboxed process that will decode the image.
|
| void DecodeImageInSandbox(const std::vector<unsigned char>& image_data);
|
|
|