summaryrefslogtreecommitdiffstats
path: root/dom/media/gmp/widevine-adapter/WidevineUtils.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-18 08:12:19 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-18 08:12:19 +0100
commitc7c3c8600febd196152e5b23f687cbe8aa493627 (patch)
treea0a4cdee6d626fb3a983daf113f3b171c9143929 /dom/media/gmp/widevine-adapter/WidevineUtils.h
parentd791dfed61bbc963351e5965657a3b13d4e6dceb (diff)
parente9261d329b443e588de408ff85917ac29d4ab62d (diff)
downloadUXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar
UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar.gz
UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar.lz
UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar.xz
UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.zip
Merge branch 'cdm-work'
Diffstat (limited to 'dom/media/gmp/widevine-adapter/WidevineUtils.h')
-rw-r--r--dom/media/gmp/widevine-adapter/WidevineUtils.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/dom/media/gmp/widevine-adapter/WidevineUtils.h b/dom/media/gmp/widevine-adapter/WidevineUtils.h
index 57c004a87..2f6137fe3 100644
--- a/dom/media/gmp/widevine-adapter/WidevineUtils.h
+++ b/dom/media/gmp/widevine-adapter/WidevineUtils.h
@@ -48,12 +48,16 @@ class CDMWrapper {
public:
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CDMWrapper)
- explicit CDMWrapper(cdm::ContentDecryptionModule_8* aCDM,
+ explicit CDMWrapper(cdm::ContentDecryptionModule_9* aCDM,
WidevineDecryptor* aDecryptor);
- cdm::ContentDecryptionModule_8* GetCDM() const { return mCDM; }
+ cdm::ContentDecryptionModule_9* GetCDM() const { return mCDM; }
+ void OnStorageId(uint32_t aVersion, const uint8_t* aStorageId,
+ uint32_t aStorageIdSize) {
+ mCDM->OnStorageId(aVersion, aStorageId, aStorageIdSize);
+ }
private:
~CDMWrapper();
- cdm::ContentDecryptionModule_8* mCDM;
+ cdm::ContentDecryptionModule_9* mCDM;
RefPtr<WidevineDecryptor> mDecryptor;
};