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

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

Issue 1808593002: Add a stub implementation for Mojo AudioDecoder interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spitzer-audio-mojom
Patch Set: Rebased Created 4 years, 9 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698