Index: chrome/browser/chromeos/extensions/wallpaper_private_api.h |
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.h b/chrome/browser/chromeos/extensions/wallpaper_private_api.h |
index 2c7486b1914ecc8e960ace7d4db14ffb86e3a0df..df7afe7a3c4b8898ff71b3f88456fe67dc4bebe2 100644 |
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.h |
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.h |
@@ -157,11 +157,17 @@ class WallpaperPrivateSetCustomWallpaperFunction |
scoped_ptr<gfx::ImageSkia> image); |
// Thumbnail is ready. Calls api function javascript callback. |
- void ThumbnailGenerated(const std::string& file_name); |
+ void ThumbnailGenerated(base::RefCountedBytes* data); |
// Layout of the downloaded wallpaper. |
ash::WallpaperLayout layout_; |
+ // True if need to generate thumbnail and pass to callback. |
+ bool generate_thumbnail_; |
+ |
+ // Unique file name of the custom wallpaper. |
+ std::string file_name_; |
+ |
// Email address of logged in user. |
std::string email_; |