Chromium Code Reviews| Index: components/image_fetcher/image_fetcher_delegate.h |
| diff --git a/components/image_fetcher/image_fetcher_delegate.h b/components/image_fetcher/image_fetcher_delegate.h |
| index 0256516ef968ea025e37861d04eb6fe2c9512159..d216f136c24117f8de64baddc389b4bb136d6dbf 100644 |
| --- a/components/image_fetcher/image_fetcher_delegate.h |
| +++ b/components/image_fetcher/image_fetcher_delegate.h |
| @@ -8,7 +8,10 @@ |
| #include "base/macros.h" |
| class GURL; |
| -class SkBitmap; |
| + |
| +namespace gfx { |
| +class Image; |
| +} |
| namespace image_fetcher { |
| @@ -19,7 +22,7 @@ class ImageFetcherDelegate { |
| // Called when an image was fetched. |url| represents the website for which |
| // the image was fetched. |bitmap| stores image data owned by the caller, and |
|
Marc Treib
2016/05/13 15:54:00
nit: Update the comment please
markusheintz_
2016/05/17 13:08:22
Done.
|
| // can be nullptr. |
| - virtual void OnImageFetched(const GURL& url, const SkBitmap* bitmap) = 0; |
| + virtual void OnImageFetched(const GURL& url, const gfx::Image& image) = 0; |
| protected: |
| virtual ~ImageFetcherDelegate() {} |