| Index: content/renderer/media/crypto/encrypted_media_player_support_impl.h
|
| diff --git a/content/renderer/media/crypto/encrypted_media_player_support_impl.h b/content/renderer/media/crypto/encrypted_media_player_support_impl.h
|
| index 71ddea64f4852c8afe07d0c42fa94b08a48d90a3..76063e62c900608a4e4d19b80cdc3e92226108c3 100644
|
| --- a/content/renderer/media/crypto/encrypted_media_player_support_impl.h
|
| +++ b/content/renderer/media/crypto/encrypted_media_player_support_impl.h
|
| @@ -12,6 +12,10 @@
|
| #include "content/renderer/media/crypto/encrypted_media_player_support.h"
|
| #include "content/renderer/media/crypto/proxy_decryptor.h"
|
|
|
| +namespace blink {
|
| +class WebMediaPlayerClient;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class WebContentDecryptionModuleImpl;
|
| @@ -20,7 +24,9 @@ class EncryptedMediaPlayerSupportImpl
|
| : public EncryptedMediaPlayerSupport,
|
| public base::SupportsWeakPtr<EncryptedMediaPlayerSupportImpl> {
|
| public:
|
| - explicit EncryptedMediaPlayerSupportImpl(blink::WebMediaPlayerClient* client);
|
| + static scoped_ptr<EncryptedMediaPlayerSupport> Create(
|
| + blink::WebMediaPlayerClient* client);
|
| +
|
| virtual ~EncryptedMediaPlayerSupportImpl();
|
|
|
| // EncryptedMediaPlayerSupport implementation.
|
| @@ -56,6 +62,8 @@ class EncryptedMediaPlayerSupportImpl
|
| virtual void OnPipelineDecryptError() OVERRIDE;
|
|
|
| private:
|
| + explicit EncryptedMediaPlayerSupportImpl(blink::WebMediaPlayerClient* client);
|
| +
|
| // Requests that this object notifies when a decryptor is ready through the
|
| // |decryptor_ready_cb| provided.
|
| // If |decryptor_ready_cb| is null, the existing callback will be fired with
|
|
|