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

Side by Side Diff: media/mojo/services/mojo_media_client.cc

Issue 2544523002: Pass Connector* into MojoMediaClient::Initialize(). (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « media/mojo/services/mojo_media_client.h ('k') | media/mojo/services/test_mojo_media_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/mojo_media_client.h" 5 #include "media/mojo/services/mojo_media_client.h"
6 6
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "media/base/audio_decoder.h" 8 #include "media/base/audio_decoder.h"
9 #include "media/base/audio_renderer_sink.h" 9 #include "media/base/audio_renderer_sink.h"
10 #include "media/base/cdm_factory.h" 10 #include "media/base/cdm_factory.h"
11 #include "media/base/media_log.h" 11 #include "media/base/media_log.h"
12 #include "media/base/renderer_factory.h" 12 #include "media/base/renderer_factory.h"
13 #include "media/base/video_decoder.h" 13 #include "media/base/video_decoder.h"
14 #include "media/base/video_renderer_sink.h" 14 #include "media/base/video_renderer_sink.h"
15 15
16 namespace media { 16 namespace media {
17 17
18 MojoMediaClient::MojoMediaClient() {} 18 MojoMediaClient::MojoMediaClient() {}
19 19
20 MojoMediaClient::~MojoMediaClient() {} 20 MojoMediaClient::~MojoMediaClient() {}
21 21
22 void MojoMediaClient::Initialize() {} 22 void MojoMediaClient::Initialize(service_manager::Connector* connector) {}
23 23
24 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder( 24 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder(
25 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 25 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
26 return nullptr; 26 return nullptr;
27 } 27 }
28 28
29 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder( 29 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder(
30 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 30 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
31 return nullptr; 31 return nullptr;
32 } 32 }
33 33
34 scoped_refptr<AudioRendererSink> MojoMediaClient::CreateAudioRendererSink( 34 scoped_refptr<AudioRendererSink> MojoMediaClient::CreateAudioRendererSink(
35 const std::string& audio_device_id) { 35 const std::string& audio_device_id) {
36 return nullptr; 36 return nullptr;
37 } 37 }
38 38
39 std::unique_ptr<VideoRendererSink> MojoMediaClient::CreateVideoRendererSink( 39 std::unique_ptr<VideoRendererSink> MojoMediaClient::CreateVideoRendererSink(
40 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) { 40 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
41 return nullptr; 41 return nullptr;
42 } 42 }
43 43
44 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory( 44 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory(
45 const scoped_refptr<MediaLog>& media_log) { 45 const scoped_refptr<MediaLog>& media_log) {
46 return nullptr; 46 return nullptr;
47 } 47 }
48 48
49 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory( 49 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory(
50 service_manager::mojom::InterfaceProvider* interface_provider) { 50 service_manager::mojom::InterfaceProvider* host_interfaces) {
51 return nullptr; 51 return nullptr;
52 } 52 }
53 53
54 } // namespace media 54 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_media_client.h ('k') | media/mojo/services/test_mojo_media_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698