| Index: media/base/cdm_initialized_promise.h
|
| diff --git a/media/base/cdm_initialized_promise.h b/media/base/cdm_initialized_promise.h
|
| index 8e48f7cd0fa2b422ff1f54fcb0c831bf4869bfbb..f5b4868d7be5d328cc1c2ceb76b05f473402840b 100644
|
| --- a/media/base/cdm_initialized_promise.h
|
| +++ b/media/base/cdm_initialized_promise.h
|
| @@ -14,15 +14,15 @@
|
|
|
| namespace media {
|
|
|
| -class MediaKeys;
|
| +class ContentDecryptionModule;
|
|
|
| -// Promise to be resolved when the CDM is initialized. It owns the MediaKeys
|
| -// object until the initialization completes, which it then passes to
|
| -// |cdm_created_cb|.
|
| +// Promise to be resolved when the CDM is initialized. It owns the
|
| +// ContentDecryptionModule object until the initialization completes, which it
|
| +// then passes to |cdm_created_cb|.
|
| class MEDIA_EXPORT CdmInitializedPromise : public SimpleCdmPromise {
|
| public:
|
| CdmInitializedPromise(const CdmCreatedCB& cdm_created_cb,
|
| - const scoped_refptr<MediaKeys>& cdm);
|
| + const scoped_refptr<ContentDecryptionModule>& cdm);
|
| ~CdmInitializedPromise() override;
|
|
|
| // SimpleCdmPromise implementation.
|
| @@ -35,7 +35,7 @@ class MEDIA_EXPORT CdmInitializedPromise : public SimpleCdmPromise {
|
| CdmCreatedCB cdm_created_cb_;
|
|
|
| // Holds a ref-count of the CDM.
|
| - scoped_refptr<MediaKeys> cdm_;
|
| + scoped_refptr<ContentDecryptionModule> cdm_;
|
| };
|
|
|
| } // namespace media
|
|
|