Commit c262a105 authored by Brandon Wylie's avatar Brandon Wylie Committed by Commit Bot

Update ImageDecoder interface documentation for untrusted data

Change-Id: I0482302dcb63fcf260743d1eb5fe471030a01534
Reviewed-on: https://chromium-review.googlesource.com/c/1250201Reviewed-by: default avatarSky Malice <skym@chromium.org>
Reviewed-by: default avatarFilip Gorski <fgorski@chromium.org>
Commit-Queue: Brandon Wylie <wylieb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596388}
parent e3619639
...@@ -19,7 +19,9 @@ namespace image_fetcher { ...@@ -19,7 +19,9 @@ namespace image_fetcher {
using ImageDecodedCallback = base::Callback<void(const gfx::Image&)>; using ImageDecodedCallback = base::Callback<void(const gfx::Image&)>;
// ImageDecoder defines the common interface for decoding images. // ImageDecoder defines the common interface for decoding images. This is
// expected to process untrusted input from the web so implementations must be
// sure to decode safely.
class ImageDecoder { class ImageDecoder {
public: public:
ImageDecoder() {} ImageDecoder() {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment