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

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

Issue 2856253004: removed AndroidOverlayFactory (Closed)
Patch Set: cl feedvback Created 3 years, 7 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 "base/unguessable_token.h"
10 #include "media/base/android/android_overlay_factory.h"
11 #include "media/mojo/interfaces/android_overlay.mojom.h"
12
13 namespace service_manager {
14 namespace mojom {
15 class InterfaceProvider;
16 }
17 }
18
19 namespace media {
20
21 // AndroidOverlayFactory implementation for mojo-based overlays.
22 class MojoAndroidOverlayFactory : public AndroidOverlayFactory {
23 public:
24 MojoAndroidOverlayFactory(
25 const base::UnguessableToken& routing_token,
26 service_manager::mojom::InterfaceProvider* interface_provider);
27 ~MojoAndroidOverlayFactory() override;
28
29 std::unique_ptr<AndroidOverlay> CreateOverlay(
30 const AndroidOverlay::Config& config) override;
31
32 private:
33 service_manager::mojom::InterfaceProvider* const interface_provider_;
34 base::UnguessableToken routing_token_;
35
36 DISALLOW_COPY_AND_ASSIGN(MojoAndroidOverlayFactory);
37 };
38
39 } // namespace media
40
41 #endif // MEDIA_BASE_MOJO_ANDROID_OVERLAY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698