Index: media/mojo/services/mojo_audio_decoder_service.cc |
diff --git a/media/mojo/services/mojo_audio_decoder_service.cc b/media/mojo/services/mojo_audio_decoder_service.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..33034f2c81cd18fc29a70ecba24f7c9ff3b90958 |
--- /dev/null |
+++ b/media/mojo/services/mojo_audio_decoder_service.cc |
@@ -0,0 +1,34 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "base/logging.h" |
+#include "media/mojo/services/mojo_audio_decoder_service.h" |
+ |
+namespace media { |
+ |
+MojoAudioDecoderService::MojoAudioDecoderService( |
+ scoped_ptr<AudioDecoder> decoder, |
+ mojo::InterfaceRequest<interfaces::AudioDecoder> request) |
+ : binding_(this, std::move(request)), decoder_(std::move(decoder)) {} |
+ |
+MojoAudioDecoderService::~MojoAudioDecoderService() {} |
+ |
+void MojoAudioDecoderService::Initialize( |
+ interfaces::AudioDecoderClientPtr client, |
+ interfaces::AudioDecoderConfigPtr config, |
+ int32_t cdm_id, |
+ const InitializeCallback& callback) { |
+ 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.
|
+} |
+ |
+void MojoAudioDecoderService::Decode(interfaces::DecoderBufferPtr buffer, |
+ const DecodeCallback& callback) { |
+ NOTIMPLEMENTED(); |
xhwang
2016/03/16 04:12:17
ditto about callback
Tima Vaisburd
2016/03/16 19:23:20
Done.
|
+} |
+ |
+void MojoAudioDecoderService::Reset(const ResetCallback& callback) { |
+ NOTIMPLEMENTED(); |
xhwang
2016/03/16 04:12:18
ditto about callback
Tima Vaisburd
2016/03/16 19:23:20
Done.
|
+} |
+ |
+} // namespace media |