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

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

Issue 2441563002: arc: Create intermediate directories in c/b/c/arc (Closed)
Patch Set: Re-rebase to ToT Created 4 years, 2 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_service.h
diff --git a/chrome/browser/chromeos/arc/arc_wallpaper_service.h b/chrome/browser/chromeos/arc/arc_wallpaper_service.h
deleted file mode 100644
index 34d3e111ad1e83d1ad8dc7f16b6af9bb805dd460..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/arc/arc_wallpaper_service.h
+++ /dev/null
@@ -1,57 +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_SERVICE_H_
-#define CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_
-
-#include <stdint.h>
-
-#include "ash/common/wallpaper/wallpaper_controller_observer.h"
-#include "base/macros.h"
-#include "chrome/browser/image_decoder.h"
-#include "components/arc/arc_service.h"
-#include "components/arc/common/wallpaper.mojom.h"
-#include "components/arc/instance_holder.h"
-#include "mojo/public/cpp/bindings/binding.h"
-
-class SkBitmap;
-
-namespace arc {
-
-// Lives on the UI thread.
-class ArcWallpaperService
- : public ArcService,
- public ash::WallpaperControllerObserver,
- public ImageDecoder::ImageRequest,
- public InstanceHolder<mojom::WallpaperInstance>::Observer,
- public mojom::WallpaperHost {
- public:
- explicit ArcWallpaperService(ArcBridgeService* bridge_service);
- ~ArcWallpaperService() override;
-
- // InstanceHolder<mojom::WallpaperInstance>::Observer overrides.
- void OnInstanceReady() override;
- void OnInstanceClosed() override;
-
- // 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 GetWallpaper(const GetWallpaperCallback& callback) override;
-
- // ImageDecoder::ImageRequest implementation.
- void OnImageDecoded(const SkBitmap& bitmap) override;
- void OnDecodeImageFailed() override;
-
- // WallpaperControllerObserver implementation.
- void OnWallpaperDataChanged() override;
-
- private:
- mojo::Binding<mojom::WallpaperHost> binding_;
- DISALLOW_COPY_AND_ASSIGN(ArcWallpaperService);
-};
-
-} // namespace arc
-
-#endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_
« no previous file with comments | « chrome/browser/chromeos/arc/arc_tts_service.cc ('k') | chrome/browser/chromeos/arc/arc_wallpaper_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698