OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ |
6 #define MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ | 6 #define MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "media/mojo/services/mojo_media_client.h" | 11 #include "media/mojo/services/mojo_media_client.h" |
12 | 12 |
13 namespace media { | 13 namespace media { |
14 | 14 |
15 class AndroidMojoMediaClient : public MojoMediaClient { | 15 class AndroidMojoMediaClient : public MojoMediaClient { |
16 public: | 16 public: |
17 AndroidMojoMediaClient(); | 17 AndroidMojoMediaClient(); |
18 ~AndroidMojoMediaClient() final; | 18 ~AndroidMojoMediaClient() final; |
19 | 19 |
20 // MojoMediaClient implementation. | 20 // MojoMediaClient implementation. |
21 std::unique_ptr<AudioDecoder> CreateAudioDecoder( | 21 std::unique_ptr<AudioDecoder> CreateAudioDecoder( |
22 scoped_refptr<base::SingleThreadTaskRunner> task_runner) final; | 22 scoped_refptr<base::SingleThreadTaskRunner> task_runner) final; |
23 | 23 |
24 std::unique_ptr<CdmFactory> CreateCdmFactory( | 24 std::unique_ptr<CdmFactory> CreateCdmFactory( |
25 shell::mojom::InterfaceProvider* interface_provider) final; | 25 service_manager::mojom::InterfaceProvider* interface_provider) final; |
26 | 26 |
27 private: | 27 private: |
28 DISALLOW_COPY_AND_ASSIGN(AndroidMojoMediaClient); | 28 DISALLOW_COPY_AND_ASSIGN(AndroidMojoMediaClient); |
29 }; | 29 }; |
30 | 30 |
31 } // namespace media | 31 } // namespace media |
32 | 32 |
33 #endif // MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ | 33 #endif // MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ |
OLD | NEW |