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

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

Issue 2295403002: Destroy MojoMediaClient in MojoMediaApplication::OnStop(). (Closed)
Patch Set: ignore request if stopped Created 4 years, 3 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 #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/audio_renderer_sink.h" 9 #include "media/base/audio_renderer_sink.h"
10 #include "media/base/cdm_factory.h" 10 #include "media/base/cdm_factory.h"
11 #include "media/base/media_log.h" 11 #include "media/base/media_log.h"
12 #include "media/base/renderer_factory.h" 12 #include "media/base/renderer_factory.h"
13 #include "media/base/video_decoder.h" 13 #include "media/base/video_decoder.h"
14 #include "media/base/video_renderer_sink.h" 14 #include "media/base/video_renderer_sink.h"
15 15
16 namespace media { 16 namespace media {
17 17
18 MojoMediaClient::MojoMediaClient() {} 18 MojoMediaClient::MojoMediaClient() {}
19 19
20 MojoMediaClient::~MojoMediaClient() {} 20 MojoMediaClient::~MojoMediaClient() {}
21 21
22 void MojoMediaClient::Initialize() {} 22 void MojoMediaClient::Initialize() {}
23 23
24 void MojoMediaClient::WillQuit() {}
25
26 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder( 24 std::unique_ptr<AudioDecoder> MojoMediaClient::CreateAudioDecoder(
27 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 25 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
28 return nullptr; 26 return nullptr;
29 } 27 }
30 28
31 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder( 29 std::unique_ptr<VideoDecoder> MojoMediaClient::CreateVideoDecoder(
32 scoped_refptr<base::SingleThreadTaskRunner> task_runner) { 30 scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
33 return nullptr; 31 return nullptr;
34 } 32 }
35 33
(...skipping 11 matching lines...) Expand all
47 const scoped_refptr<MediaLog>& media_log) { 45 const scoped_refptr<MediaLog>& media_log) {
48 return nullptr; 46 return nullptr;
49 } 47 }
50 48
51 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory( 49 std::unique_ptr<CdmFactory> MojoMediaClient::CreateCdmFactory(
52 shell::mojom::InterfaceProvider* interface_provider) { 50 shell::mojom::InterfaceProvider* interface_provider) {
53 return nullptr; 51 return nullptr;
54 } 52 }
55 53
56 } // namespace media 54 } // 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