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

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: change instance getter / setter in SetWallpaperDelegate to snake_case. Created 4 years, 3 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
deleted file mode 100644
index 3b0b132fcbd722353d935f0d9a09a6814d58b43e..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/arc/arc_wallpaper_handler.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_HANDLER_H_
-#define CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_HANDLER_H_
-
-#include <stdint.h>
-
-#include <memory>
-#include <set>
-#include <vector>
-
-#include "base/macros.h"
-#include "chrome/browser/image_decoder.h"
-#include "components/arc/set_wallpaper_delegate.h"
-
-class SkBitmap;
-
-namespace arc {
-
-// Lives on the UI thread.
-class ArcWallpaperHandler : public SetWallpaperDelegate,
- public ImageDecoder::ImageRequest {
- public:
- ArcWallpaperHandler();
- ~ArcWallpaperHandler() override;
-
- // SetWallpaperDelegate implementation.
- void SetWallpaper(std::vector<uint8_t> jpeg_data) override;
-
- // ImageDecoder::ImageRequest implementation.
- void OnImageDecoded(const SkBitmap& bitmap) override;
- void OnDecodeImageFailed() override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ArcWallpaperHandler);
-};
-
-} // namespace arc
-
-#endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_HANDLER_H_
« no previous file with comments | « chrome/browser/chromeos/arc/arc_service_launcher.cc ('k') | chrome/browser/chromeos/arc/arc_wallpaper_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698