Chromium Code Reviews| Index: components/arc/set_wallpaper_delegate.h |
| diff --git a/components/arc/set_wallpaper_delegate.h b/components/arc/set_wallpaper_delegate.h |
| index 28e5ed038c5248a219b2b3f78e1294c8d4a7cd5a..31143ee2b7d14a977c81c2fa219a1b45b7a1dc5a 100644 |
| --- a/components/arc/set_wallpaper_delegate.h |
| +++ b/components/arc/set_wallpaper_delegate.h |
| @@ -6,9 +6,10 @@ |
| #define COMPONENTS_ARC_SET_WALLPAPER_DELEGATE_H_ |
| #include <stdint.h> |
| - |
| #include <vector> |
| +#include "base/callback_forward.h" |
|
hidehiko
2016/09/02 05:07:13
No longer needed.
Muyuan
2016/09/06 19:53:41
Done.
|
| + |
| namespace arc { |
| // Delegate to allow setting the wallpaper. |
| @@ -17,7 +18,7 @@ class SetWallpaperDelegate { |
| virtual ~SetWallpaperDelegate() = default; |
| // Sets an image represented in JPEG format as the wallpaper. |
| - virtual void SetWallpaper(std::vector<uint8_t> jpeg_data) = 0; |
| + virtual void SetWallpaperJPEG(const std::vector<uint8_t>& jpeg_data) = 0; |
| }; |
| } // namespace arc |