| Index: webkit/media/crypto/ppapi_decryptor.h
|
| diff --git a/webkit/media/crypto/ppapi_decryptor.h b/webkit/media/crypto/ppapi_decryptor.h
|
| index c779b17b03869bea2dc6469cd32b4772e9eea39f..d15de10618b80b7e1564bfd8b5e917ee2aac0965 100644
|
| --- a/webkit/media/crypto/ppapi_decryptor.h
|
| +++ b/webkit/media/crypto/ppapi_decryptor.h
|
| @@ -10,6 +10,10 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "media/base/decryptor.h"
|
|
|
| +namespace base {
|
| +class MessageLoopProxy;
|
| +}
|
| +
|
| namespace media {
|
| class DecryptorClient;
|
| }
|
| @@ -47,12 +51,13 @@ class PpapiDecryptor : public media::Decryptor {
|
|
|
| private:
|
| // Callback for the plugin to hand back the decrypted data.
|
| - void DataReady(const DecryptCB& decrypt_cb, const uint8* data, int data_size);
|
| + void DataReady(const DecryptCB& decrypt_cb, void* data, int data_size);
|
|
|
| // TODO(xhwang): Need to figure out how the CDM plugin fires key events
|
| // (e.g. KeyMessage).
|
| media::DecryptorClient* client_;
|
| scoped_refptr<webkit::ppapi::PluginInstance> cdm_plugin_;
|
| + scoped_refptr<base::MessageLoopProxy> render_loop_proxy_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PpapiDecryptor);
|
| };
|
|
|