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

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: Remove CHECKs on GPU side. 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
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 "media/base/audio_decoder.h"
8 #include "media/base/cdm_factory.h"
9 #include "media/base/renderer_factory.h"
10 #include "media/base/video_decoder.h"
11
7 namespace media { 12 namespace media {
8 13
9 MojoMediaClient::MojoMediaClient() {} 14 MojoMediaClient::MojoMediaClient() {}
10 15
11 MojoMediaClient::~MojoMediaClient() {} 16 MojoMediaClient::~MojoMediaClient() {}
12 17
13 void MojoMediaClient::Initialize() {} 18 void MojoMediaClient::Initialize() {}
14 19
15 void MojoMediaClient::WillQuit() {} 20 void MojoMediaClient::WillQuit() {}
16 21
17 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder( 22 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder(
18 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 23 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
19 return nullptr; 24 return nullptr;
20 } 25 }
21 26
27 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder(
28 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
29 return nullptr;
30 }
31
22 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory( 32 std::unique_ptr<RendererFactory> MojoMediaClient::CreateRendererFactory(
23 const scoped_refptr<MediaLog>& media_log) { 33 const scoped_refptr<MediaLog>& media_log) {
24 return nullptr; 34 return nullptr;
25 } 35 }
26 36
27 AudioRendererSink* MojoMediaClient::CreateAudioRendererSink() { 37 AudioRendererSink* MojoMediaClient::CreateAudioRendererSink() {
28 return nullptr; 38 return nullptr;
29 } 39 }
30 40
31 VideoRendererSink* MojoMediaClient::CreateVideoRendererSink( 41 VideoRendererSink* MojoMediaClient::CreateVideoRendererSink(
32 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) { 42 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
33 return nullptr; 43 return nullptr;
34 } 44 }
35 45
36 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory( 46 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory(
37 shell::mojom::InterfaceProvider* interface_provider) { 47 shell::mojom::InterfaceProvider* interface_provider) {
38 return nullptr; 48 return nullptr;
39 } 49 }
40 50
41 } // namespace media 51 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698