OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/logging.h" | |
6 #include "media/mojo/services/mojo_audio_decoder_service.h" | |
7 | |
8 namespace media { | |
9 | |
10 MojoAudioDecoderService::MojoAudioDecoderService( | |
11 scoped_ptr<AudioDecoder> decoder, | |
12 mojo::InterfaceRequest<interfaces::AudioDecoder> request) | |
13 : binding_(this, std::move(request)), decoder_(std::move(decoder)) {} | |
14 | |
15 MojoAudioDecoderService::~MojoAudioDecoderService() {} | |
16 | |
17 void MojoAudioDecoderService::Initialize( | |
18 interfaces::AudioDecoderClientPtr client, | |
19 interfaces::AudioDecoderConfigPtr config, | |
20 int32_t cdm_id, | |
21 const InitializeCallback& callback) { | |
22 NOTIMPLEMENTED(); | |
xhwang
2016/03/16 04:12:17
If you run this code now it'll warn you that the c
Tima Vaisburd
2016/03/16 19:23:20
Done.
| |
23 } | |
24 | |
25 void MojoAudioDecoderService::Decode(interfaces::DecoderBufferPtr buffer, | |
26 const DecodeCallback& callback) { | |
27 NOTIMPLEMENTED(); | |
xhwang
2016/03/16 04:12:17
ditto about callback
Tima Vaisburd
2016/03/16 19:23:20
Done.
| |
28 } | |
29 | |
30 void MojoAudioDecoderService::Reset(const ResetCallback& callback) { | |
31 NOTIMPLEMENTED(); | |
xhwang
2016/03/16 04:12:18
ditto about callback
Tima Vaisburd
2016/03/16 19:23:20
Done.
| |
32 } | |
33 | |
34 } // namespace media | |
OLD | NEW |