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

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

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows needs some more headers, apaprently. Created 4 years, 7 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/mojo_video_decoder.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"
8 #include "media/base/audio_decoder.h"
9 #include "media/base/cdm_factory.h"
10 #include "media/base/renderer_factory.h"
11 #include "media/base/video_decoder.h"
12
7 namespace media { 13 namespace media {
8 14
9 MojoMediaClient::MojoMediaClient() {} 15 MojoMediaClient::MojoMediaClient() {}
10 16
11 MojoMediaClient::~MojoMediaClient() {} 17 MojoMediaClient::~MojoMediaClient() {}
12 18
13 void MojoMediaClient::Initialize() {} 19 void MojoMediaClient::Initialize() {}
14 20
15 void MojoMediaClient::WillQuit() {} 21 void MojoMediaClient::WillQuit() {}
16 22
17 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder( 23 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder(
18 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 24 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
19 return nullptr; 25 return nullptr;
20 } 26 }
21 27
28 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder(
29 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
30 return nullptr;
31 }
32
22 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory( 33 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory(
23 const scoped_refptr<MediaLog>& media_log) { 34 const scoped_refptr<MediaLog>& media_log) {
24 return nullptr; 35 return nullptr;
25 } 36 }
26 37
27 AudioRendererSink* MojoMediaClient::CreateAudioRendererSink() { 38 AudioRendererSink* MojoMediaClient::CreateAudioRendererSink() {
28 return nullptr; 39 return nullptr;
29 } 40 }
30 41
31 VideoRendererSink* MojoMediaClient::CreateVideoRendererSink( 42 VideoRendererSink* MojoMediaClient::CreateVideoRendererSink(
32 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) { 43 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
33 return nullptr; 44 return nullptr;
34 } 45 }
35 46
36 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory( 47 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory(
37 shell::mojom::InterfaceProvider* interface_provider) { 48 shell::mojom::InterfaceProvider* interface_provider) {
38 return nullptr; 49 return nullptr;
39 } 50 }
40 51
41 } // namespace media 52 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_media_client.h ('k') | media/mojo/services/mojo_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698