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

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

Issue 2016053003: Add audio_device_id in mojo media ServiceFactory CreateRenderer api. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Minor change based on the comment Created 4 years, 5 months 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/service_factory_impl.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/cdm_factory.h" 9 #include "media/base/cdm_factory.h"
10 #include "media/base/renderer_factory.h" 10 #include "media/base/media_log.h"
11 #include "media/base/renderer.h"
11 #include "media/base/video_decoder.h" 12 #include "media/base/video_decoder.h"
12 13
13 namespace media { 14 namespace media {
14 15
15 MojoMediaClient::MojoMediaClient() {} 16 MojoMediaClient::MojoMediaClient() {}
16 17
17 MojoMediaClient::~MojoMediaClient() {} 18 MojoMediaClient::~MojoMediaClient() {}
18 19
19 void MojoMediaClient::Initialize() {} 20 void MojoMediaClient::Initialize() {}
20 21
21 void MojoMediaClient::WillQuit() {} 22 void MojoMediaClient::WillQuit() {}
22 23
23 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder( 24 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder(
24 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 25 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
25 return nullptr; 26 return nullptr;
26 } 27 }
27 28
28 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder( 29 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder(
29 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 30 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
30 return nullptr; 31 return nullptr;
31 } 32 }
32 33
33 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory( 34 std::unique_ptr<Renderer> MojoMediaClient::CreateRenderer(
34 const scoped_refptr<MediaLog>& media_log) { 35 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner,
36 scoped_refptr<MediaLog> media_log,
37 const std::string& audio_device_id) {
35 return nullptr; 38 return nullptr;
36 } 39 }
37 40
38 AudioRendererSink* MojoMediaClient::CreateAudioRendererSink() {
39 return nullptr;
40 }
41
42 VideoRendererSink* MojoMediaClient::CreateVideoRendererSink(
43 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
44 return nullptr;
45 }
46
47 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory( 41 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory(
48 shell::mojom::InterfaceProvider* interface_provider) { 42 shell::mojom::InterfaceProvider* interface_provider) {
49 return nullptr; 43 return nullptr;
50 } 44 }
51 45
52 } // namespace media 46 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_media_client.h ('k') | media/mojo/services/service_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698