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

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

Issue 1806313003: Pass task runners to AudioManager constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments from patch 48 Created 4 years, 8 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/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 namespace media { 7 namespace media {
8 8
9 MojoMediaClient::MojoMediaClient() {} 9 MojoMediaClient::MojoMediaClient() {}
10 10
11 MojoMediaClient::~MojoMediaClient() {} 11 MojoMediaClient::~MojoMediaClient() {}
12 12
13 void MojoMediaClient::Initialize() {} 13 void MojoMediaClient::Initialize() {}
14 14
15 void MojoMediaClient::WillQuit() {}
16
15 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder( 17 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder(
16 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 18 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
17 return nullptr; 19 return nullptr;
18 } 20 }
19 21
20 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory( 22 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory(
21 const scoped_refptr<MediaLog>& media_log) { 23 const scoped_refptr<MediaLog>& media_log) {
22 return nullptr; 24 return nullptr;
23 } 25 }
24 26
25 AudioRendererSink* MojoMediaClient::CreateAudioRendererSink() { 27 AudioRendererSink* MojoMediaClient::CreateAudioRendererSink() {
26 return nullptr; 28 return nullptr;
27 } 29 }
28 30
29 VideoRendererSink* MojoMediaClient::CreateVideoRendererSink( 31 VideoRendererSink* MojoMediaClient::CreateVideoRendererSink(
30 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) { 32 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
31 return nullptr; 33 return nullptr;
32 } 34 }
33 35
34 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory( 36 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory(
35 shell::mojom::InterfaceProvider* interface_provider) { 37 shell::mojom::InterfaceProvider* interface_provider) {
36 return nullptr; 38 return nullptr;
37 } 39 }
38 40
39 } // namespace media 41 } // 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