| 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 #include "media/mojo/services/test_mojo_media_client.h" | 5 #include "media/mojo/services/test_mojo_media_client.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
| 9 #include "base/threading/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
| 10 #include "media/audio/audio_device_description.h" | 10 #include "media/audio/audio_device_description.h" |
| 11 #include "media/audio/audio_manager.h" | 11 #include "media/audio/audio_manager.h" |
| 12 #include "media/audio/audio_output_stream_sink.h" | 12 #include "media/audio/audio_output_stream_sink.h" |
| 13 #include "media/base/audio_hardware_config.h" | 13 #include "media/base/audio_hardware_config.h" |
| 14 #include "media/base/cdm_factory.h" |
| 14 #include "media/base/media.h" | 15 #include "media/base/media.h" |
| 15 #include "media/base/null_video_sink.h" | 16 #include "media/base/null_video_sink.h" |
| 17 #include "media/base/renderer_factory.h" |
| 16 #include "media/cdm/default_cdm_factory.h" | 18 #include "media/cdm/default_cdm_factory.h" |
| 17 #include "media/renderers/default_renderer_factory.h" | 19 #include "media/renderers/default_renderer_factory.h" |
| 18 #include "media/renderers/gpu_video_accelerator_factories.h" | 20 #include "media/renderers/gpu_video_accelerator_factories.h" |
| 19 | 21 |
| 20 namespace media { | 22 namespace media { |
| 21 | 23 |
| 22 TestMojoMediaClient::TestMojoMediaClient() {} | 24 TestMojoMediaClient::TestMojoMediaClient() {} |
| 23 | 25 |
| 24 TestMojoMediaClient::~TestMojoMediaClient() {} | 26 TestMojoMediaClient::~TestMojoMediaClient() {} |
| 25 | 27 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 return video_renderer_sink_.get(); | 80 return video_renderer_sink_.get(); |
| 79 } | 81 } |
| 80 | 82 |
| 81 std::unique_ptr<CdmFactory> TestMojoMediaClient::CreateCdmFactory( | 83 std::unique_ptr<CdmFactory> TestMojoMediaClient::CreateCdmFactory( |
| 82 shell::mojom::InterfaceProvider* /* interface_provider */) { | 84 shell::mojom::InterfaceProvider* /* interface_provider */) { |
| 83 DVLOG(1) << __FUNCTION__; | 85 DVLOG(1) << __FUNCTION__; |
| 84 return base::WrapUnique(new DefaultCdmFactory()); | 86 return base::WrapUnique(new DefaultCdmFactory()); |
| 85 } | 87 } |
| 86 | 88 |
| 87 } // namespace media | 89 } // namespace media |
| OLD | NEW |