Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: chrome/browser/chromeos/arc/arc_wallpaper_handler.h

Issue 2264743002: cheets: implement cros side of WallpaperManagerService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cheets: implement cros side of WallpaperManagerService. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/arc/arc_wallpaper_handler.h
diff --git a/chrome/browser/chromeos/arc/arc_wallpaper_handler.h b/chrome/browser/chromeos/arc/arc_wallpaper_handler.h
index 3b0b132fcbd722353d935f0d9a09a6814d58b43e..436c9607a7854d47e8168c3eec167888adc81464 100644
--- a/chrome/browser/chromeos/arc/arc_wallpaper_handler.h
+++ b/chrome/browser/chromeos/arc/arc_wallpaper_handler.h
@@ -27,8 +27,11 @@ class ArcWallpaperHandler : public SetWallpaperDelegate,
~ArcWallpaperHandler() override;
// SetWallpaperDelegate implementation.
- void SetWallpaper(std::vector<uint8_t> jpeg_data) override;
-
+ void SetWallpaper(const std::vector<uint8_t>& jpeg_data) override;
+ // Returns current wallpaper.
+ void GetWallpaper(
+ const base::Callback<void(const std::vector<uint8_t>& image)>& callback)
+ const override;
// ImageDecoder::ImageRequest implementation.
void OnImageDecoded(const SkBitmap& bitmap) override;
void OnDecodeImageFailed() override;

Powered by Google App Engine
This is Rietveld 408576698