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

Side by Side Diff: chrome/browser/chromeos/arc/arc_wallpaper_service.h

Issue 2347293002: arc: Add InstanceHelper::GetInstanceForMethod() (Closed)
Patch Set: No more DCHECK 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_wallpaper_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ash/common/wallpaper/wallpaper_controller_observer.h" 10 #include "ash/common/wallpaper/wallpaper_controller_observer.h"
(...skipping 30 matching lines...) Expand all
41 void GetWallpaper(const GetWallpaperCallback& callback) override; 41 void GetWallpaper(const GetWallpaperCallback& callback) override;
42 42
43 // ImageDecoder::ImageRequest implementation. 43 // ImageDecoder::ImageRequest implementation.
44 void OnImageDecoded(const SkBitmap& bitmap) override; 44 void OnImageDecoded(const SkBitmap& bitmap) override;
45 void OnDecodeImageFailed() override; 45 void OnDecodeImageFailed() override;
46 46
47 // WallpaperControllerObserver implementation. 47 // WallpaperControllerObserver implementation.
48 void OnWallpaperDataChanged() override; 48 void OnWallpaperDataChanged() override;
49 49
50 private: 50 private:
51 mojom::WallpaperInstance* GetWallpaperInstance(uint32_t min_version);
52
53 mojo::Binding<mojom::WallpaperHost> binding_; 51 mojo::Binding<mojom::WallpaperHost> binding_;
54 DISALLOW_COPY_AND_ASSIGN(ArcWallpaperService); 52 DISALLOW_COPY_AND_ASSIGN(ArcWallpaperService);
55 }; 53 };
56 54
57 } // namespace arc 55 } // namespace arc
58 56
59 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ 57 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_wallpaper_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698