| Index: webkit/media/crypto/ppapi_decryptor.cc
|
| diff --git a/webkit/media/crypto/ppapi_decryptor.cc b/webkit/media/crypto/ppapi_decryptor.cc
|
| index 38b9ed4341a7986605a44d56e53ea12164ba42c1..185a050fb8d426319759cbd60c73f615adf22936 100644
|
| --- a/webkit/media/crypto/ppapi_decryptor.cc
|
| +++ b/webkit/media/crypto/ppapi_decryptor.cc
|
| @@ -13,6 +13,8 @@
|
| #include "base/message_loop_proxy.h"
|
| #include "media/base/decoder_buffer.h"
|
| #include "media/base/decryptor_client.h"
|
| +#include "media/base/video_decoder_config.h"
|
| +#include "media/base/video_frame.h"
|
| #include "webkit/media/crypto/key_systems.h"
|
| #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
|
|
|
| @@ -100,6 +102,32 @@ void PpapiDecryptor::Decrypt(
|
| void PpapiDecryptor::CancelDecrypt() {
|
| }
|
|
|
| +void PpapiDecryptor::InitializeVideoDecoder(
|
| + const media::VideoDecoderConfig& config,
|
| + const DecoderInitCB& init_cb) {
|
| + // TODO(xhwang): Implement this!
|
| + NOTIMPLEMENTED();
|
| + init_cb.Run(false);
|
| +}
|
| +
|
| +void PpapiDecryptor::DecryptAndDecodeVideo(
|
| + const scoped_refptr<media::DecoderBuffer>& encrypted,
|
| + const VideoDecodeCB& video_decode_cb) {
|
| + // TODO(xhwang): Implement this!
|
| + NOTIMPLEMENTED();
|
| + video_decode_cb.Run(kError, NULL);
|
| +}
|
| +
|
| +void PpapiDecryptor::CancelDecryptAndDecodeVideo() {
|
| + // TODO(xhwang): Implement this!
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +void PpapiDecryptor::StopVideoDecoder() {
|
| + // TODO(xhwang): Implement this!
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| void PpapiDecryptor::ReportFailureToCallPlugin(const std::string& key_system,
|
| const std::string& session_id) {
|
| DVLOG(1) << "Failed to call plugin.";
|
|
|