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_TEST_MOJO_MEDIA_CLIENT_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_ |
6 #define MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_ | 6 #define MEDIA_MOJO_SERVICES_TEST_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 "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "media/audio/audio_manager.h" | 12 #include "media/audio/audio_manager.h" |
13 #include "media/mojo/services/mojo_media_client.h" | 13 #include "media/mojo/services/mojo_media_client.h" |
14 | 14 |
15 namespace media { | 15 namespace media { |
16 | 16 |
17 class AudioHardwareConfig; | |
18 class AudioRendererSink; | 17 class AudioRendererSink; |
19 class VideoRendererSink; | 18 class VideoRendererSink; |
20 | 19 |
21 // Default MojoMediaClient for MojoMediaApplication. | 20 // Default MojoMediaClient for MojoMediaApplication. |
22 class TestMojoMediaClient : public MojoMediaClient { | 21 class TestMojoMediaClient : public MojoMediaClient { |
23 public: | 22 public: |
24 TestMojoMediaClient(); | 23 TestMojoMediaClient(); |
25 ~TestMojoMediaClient() final; | 24 ~TestMojoMediaClient() final; |
26 | 25 |
27 // MojoMediaClient implementation. | 26 // MojoMediaClient implementation. |
(...skipping 11 matching lines...) Expand all Loading... |
39 ScopedAudioManagerPtr audio_manager_; | 38 ScopedAudioManagerPtr audio_manager_; |
40 scoped_refptr<AudioRendererSink> audio_renderer_sink_; | 39 scoped_refptr<AudioRendererSink> audio_renderer_sink_; |
41 std::unique_ptr<VideoRendererSink> video_renderer_sink_; | 40 std::unique_ptr<VideoRendererSink> video_renderer_sink_; |
42 | 41 |
43 DISALLOW_COPY_AND_ASSIGN(TestMojoMediaClient); | 42 DISALLOW_COPY_AND_ASSIGN(TestMojoMediaClient); |
44 }; | 43 }; |
45 | 44 |
46 } // namespace media | 45 } // namespace media |
47 | 46 |
48 #endif // MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_ | 47 #endif // MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_ |
OLD | NEW |