| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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_UTILITY_MOJO_MEDIA_CLIENT_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_ |
| 6 #define MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_ | 6 #define MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 void Initialize(service_manager::Connector* connector) final; | 29 void Initialize(service_manager::Connector* connector) final; |
| 30 scoped_refptr<AudioRendererSink> CreateAudioRendererSink( | 30 scoped_refptr<AudioRendererSink> CreateAudioRendererSink( |
| 31 const std::string& audio_device_id) final; | 31 const std::string& audio_device_id) final; |
| 32 std::unique_ptr<VideoRendererSink> CreateVideoRendererSink( | 32 std::unique_ptr<VideoRendererSink> CreateVideoRendererSink( |
| 33 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final; | 33 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final; |
| 34 std::unique_ptr<VideoDecoder> CreateVideoDecoder( | 34 std::unique_ptr<VideoDecoder> CreateVideoDecoder( |
| 35 scoped_refptr<base::SingleThreadTaskRunner> task_runner, | 35 scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
| 36 mojom::CommandBufferIdPtr command_buffer_id) final; | 36 mojom::CommandBufferIdPtr command_buffer_id) final; |
| 37 std::unique_ptr<RendererFactory> CreateRendererFactory( | 37 std::unique_ptr<RendererFactory> CreateRendererFactory( |
| 38 const scoped_refptr<MediaLog>& media_log) final; | 38 const scoped_refptr<MediaLog>& media_log) final; |
| 39 std::unique_ptr<DemuxerFactory> CreateDemuxerFactory( |
| 40 const scoped_refptr<MediaLog>& media_log) final; |
| 39 | 41 |
| 40 private: | 42 private: |
| 41 scoped_refptr<base::SingleThreadTaskRunner> utility_task_runner_; | 43 scoped_refptr<base::SingleThreadTaskRunner> utility_task_runner_; |
| 42 | 44 |
| 43 DISALLOW_COPY_AND_ASSIGN(UtilityMojoMediaClient); | 45 DISALLOW_COPY_AND_ASSIGN(UtilityMojoMediaClient); |
| 44 }; | 46 }; |
| 45 | 47 |
| 46 } // namespace media | 48 } // namespace media |
| 47 | 49 |
| 48 #endif // MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_ | 50 #endif // MEDIA_MOJO_SERVICES_UTILITY_MOJO_MEDIA_CLIENT_H_ |
| OLD | NEW |