Index: chrome/browser/ui/webui/options2/chromeos/wallpaper_source.h |
=================================================================== |
--- chrome/browser/ui/webui/options2/chromeos/wallpaper_source.h (revision 148277) |
+++ chrome/browser/ui/webui/options2/chromeos/wallpaper_source.h (working copy) |
@@ -14,9 +14,6 @@ |
#include "third_party/skia/include/core/SkBitmap.h" |
namespace chromeos { |
- |
-class SimplePngEncoder; |
- |
namespace options2 { |
// A DataSource for chrome://wallpaper/ URL, provides current user's wallpaper. |
@@ -46,15 +43,12 @@ |
// Cancel current image encoding operation. |
void CancelPendingEncodingOperation(); |
- // Callback to call if we cancel the wallpaper encode operation. |
- void CancelCallback(int request_id); |
- |
- // Send image stored in |data| as a reply to request |
+ // Send image stored in |data| as a reply to request |
// identifed by |request_id|. |
void SendCurrentUserWallpaper(int request_id, |
scoped_refptr<base::RefCountedBytes> data); |
- scoped_refptr<SimplePngEncoder> png_encoder_; |
+ scoped_refptr<WallpaperEncodingOperation> wallpaper_encoding_op_; |
base::WeakPtrFactory<WallpaperImageSource> weak_ptr_factory_; |