| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_HANDLER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "components/arc/set_wallpaper_delegate.h" |
| 12 |
| 13 namespace arc { |
| 14 |
| 15 class ArcWallpaperHandler : public SetWallpaperDelegate { |
| 16 public: |
| 17 ArcWallpaperHandler() = default; |
| 18 virtual ~ArcWallpaperHandler() = default; |
| 19 |
| 20 // SetWallpaperDelegate implementation. |
| 21 void SetWallpaper(const std::string& jpeg_data) override; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ArcWallpaperHandler); |
| 25 }; |
| 26 |
| 27 } // namespace arc |
| 28 |
| 29 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_HANDLER_H_ |
| OLD | NEW |