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

Unified Diff: chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h

Issue 2495913002: arc: Convert more Mojo types to STL (Closed)
Patch Set: Rebased to ToT Created 4 years, 1 month 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/wallpaper/arc_wallpaper_service.h
diff --git a/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h b/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h
index f437764bdcf6926983e8a0278394fb9b4a3e204f..107779cb248fbea6c3bf6acb58c286431dd17bea 100644
--- a/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h
+++ b/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_ARC_WALLPAPER_ARC_WALLPAPER_SERVICE_H_
#include <stdint.h>
+#include <vector>
#include "ash/common/wallpaper/wallpaper_controller_observer.h"
#include "base/macros.h"
@@ -37,7 +38,7 @@ class ArcWallpaperService
// mojom::WallpaperHost overrides.
// TODO(muyuanli): change callback prototype when use_new_wrapper_types is
// updated and merge them with the functions below.
- void SetWallpaper(mojo::Array<uint8_t> png_data) override;
+ void SetWallpaper(const std::vector<uint8_t>& png_data) override;
void GetWallpaper(const GetWallpaperCallback& callback) override;
// ImageDecoder::ImageRequest implementation.
« no previous file with comments | « chrome/browser/chromeos/arc/tts/arc_tts_service.cc ('k') | chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698