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

Side by Side Diff: media/mojo/clients/mojo_android_overlay_factory.h

Issue 2688193002: Mojo framework for AndroidOverlay. (Closed)
Patch Set: fixed mojo manifest bug introduced by rebase Created 3 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_BASE_MOJO_ANDROID_OVERLAY_FACTORY_H_
6 #define MEDIA_BASE_MOJO_ANDROID_OVERLAY_FACTORY_H_
7
8 #include "base/macros.h"
9 #include "media/base/android/android_overlay_factory.h"
10 #include "media/mojo/interfaces/android_overlay.mojom.h"
11
12 namespace service_manager {
13 namespace mojom {
14 class InterfaceProvider;
15 }
16 }
17
18 namespace media {
19
20 // AndroidOverlayFactory implementation for mojo-based overlays.
21 class MojoAndroidOverlayFactory : public AndroidOverlayFactory {
22 public:
23 MojoAndroidOverlayFactory(
24 service_manager::mojom::InterfaceProvider* interface_provider);
25 ~MojoAndroidOverlayFactory() override;
26
27 std::unique_ptr<AndroidOverlay> CreateOverlay(
28 const AndroidOverlay::Config& config) override;
29
30 private:
31 service_manager::mojom::InterfaceProvider* const interface_provider_;
32
33 DISALLOW_COPY_AND_ASSIGN(MojoAndroidOverlayFactory);
34 };
35
36 } // namespace media
37
38 #endif // MEDIA_BASE_MOJO_ANDROID_OVERLAY_H_
OLDNEW
« no previous file with comments | « media/mojo/clients/mojo_android_overlay.cc ('k') | media/mojo/clients/mojo_android_overlay_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698