mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1707559 - Stub out QueryOutputProtectionStatus. r=jbauman, a=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D113361
This commit is contained in:
parent
897129f569
commit
986c67ce68
@ -328,6 +328,14 @@ void ChromiumCDMChild::OnSessionClosed(const char* aSessionId,
|
||||
nsCString(aSessionId, aSessionIdSize));
|
||||
}
|
||||
|
||||
void ChromiumCDMChild::QueryOutputProtectionStatus() {
|
||||
GMP_LOG_DEBUG("ChromiumCDMChild::QueryOutputProtectionStatus()");
|
||||
if (mCDM) {
|
||||
mCDM->OnQueryOutputProtectionStatus(cdm::kQuerySucceeded, uint32_t{},
|
||||
uint32_t{});
|
||||
}
|
||||
}
|
||||
|
||||
void ChromiumCDMChild::OnInitialized(bool aSuccess) {
|
||||
MOZ_ASSERT(!mInitPromise.IsEmpty(),
|
||||
"mInitPromise should exist during init callback!");
|
||||
|
@ -55,7 +55,7 @@ class ChromiumCDMChild : public PChromiumCDMChild, public cdm::Host_10 {
|
||||
const char* aChallenge,
|
||||
uint32_t aChallengeSize) override {}
|
||||
void EnableOutputProtection(uint32_t aDesiredProtectionMask) override {}
|
||||
void QueryOutputProtectionStatus() override {}
|
||||
void QueryOutputProtectionStatus() override;
|
||||
void OnDeferredInitializationDone(cdm::StreamType aStreamType,
|
||||
cdm::Status aDecoderStatus) override {}
|
||||
void RequestStorageId(uint32_t aVersion) override;
|
||||
|
Loading…
Reference in New Issue
Block a user