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

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

Issue 1854893002: [chromecast] Bind and run mojo media services on cma thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move task runner 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
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 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner)
11 : media_task_runner_(std::move(media_task_runner)) {}
10 12
11 MojoMediaClient::~MojoMediaClient() {} 13 MojoMediaClient::~MojoMediaClient() {}
12 14
13 void MojoMediaClient::Initialize() {} 15 void MojoMediaClient::Initialize() {}
14 16
15 scoped_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder( 17 scoped_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
(...skipping 10 matching lines...) Expand all
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 scoped_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory( 36 scoped_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory(
35 mojo::shell::mojom::InterfaceProvider* interface_provider) { 37 mojo::shell::mojom::InterfaceProvider* interface_provider) {
36 return nullptr; 38 return nullptr;
37 } 39 }
38 40
39 } // namespace media 41 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698