Bug 1623661 - Fix comments in PChromiumCDM.ipdl r=alwu
authorBryce Seager van Dyk <bvandyk@mozilla.com>
Tue, 24 Mar 2020 18:09:43 +0000
changeset 520382 1a4c9d813562c18234a7c7370817f9b93e5b2d96
parent 520381 a77b7dac9b420b7210610efbdaffec60ddf1e38f
child 520383 cda224840d514b6b312d878dd015c37ae72f5f90
push id37249
push userdvarga@mozilla.com
push dateWed, 25 Mar 2020 21:39:06 +0000
treeherdermozilla-central@b3c3f7d0f044 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1623661 - Fix comments in PChromiumCDM.ipdl r=alwu This updates comments to no longer reference the removed CDM 9 interface. Prior to these changes the comments should have referenced interfaces 9 + 10, but in some cases the 10 was omitted, so those comments are corrected too. Depends on D68046 Differential Revision: https://phabricator.services.mozilla.com/D68047
--- a/dom/media/gmp/PChromiumCDM.ipdl
+++ b/dom/media/gmp/PChromiumCDM.ipdl
@@ -11,17 +11,17 @@ using cdm::HdcpVersion from "content_dec
 namespace mozilla {
 namespace gmp {
 async refcounted protocol PChromiumCDM
   manager PGMPContent;
-  // cdm::ContentDecryptionModule9+10
+  // cdm::ContentDecryptionModule_10
   async Init(bool aAllowDistinctiveIdentifier,
              bool aAllowPersistentState) returns (bool aSuccess);
   async GetStatusForPolicy(uint32_t aPromiseId,
                            HdcpVersion aMinHdcpVersion);
   async SetServerCertificate(uint32_t aPromiseId,
                              uint8_t[] aServerCert);
@@ -62,17 +62,17 @@ child:
   async GiveBuffer(Shmem aShmem);
   async PurgeShmems();
   async __delete__();
-  // cdm::Host9+10
+  // cdm::Host_10
   async OnResolvePromiseWithKeyStatus(uint32_t aPromiseId, uint32_t aKeyStatus);
   async OnResolveNewSessionPromise(uint32_t aPromiseId, nsCString aSessionId);
   async OnResolvePromise(uint32_t aPromiseId);
   async OnRejectPromise(uint32_t aPromiseId,
                         uint32_t aException,
@@ -88,23 +88,23 @@ parent:
   async OnExpirationChange(nsCString aSessionId,
                            double aSecondsSinceEpoch);
   async OnSessionClosed(nsCString aSessionId);
   async ResolveLoadSessionPromise(uint32_t aPromiseId, bool aSuccessful);
-  // Return values of cdm::ContentDecryptionModule9::Decrypt
+  // Return values of cdm::ContentDecryptionModule_10::Decrypt
   async Decrypted(uint32_t aId, uint32_t aStatus, Shmem aDecryptedData);
   async DecryptFailed(uint32_t aId, uint32_t aStatus);
   async OnDecoderInitDone(uint32_t aStatus);
-  // Return values of cdm::ContentDecryptionModule9::DecryptAndDecodeFrame
+  // Return values of cdm::ContentDecryptionModule_10::DecryptAndDecodeFrame
   async DecodedShmem(CDMVideoFrame aFrame, Shmem aData);
   async DecodedData(CDMVideoFrame aFrame, uint8_t[] aData);
   async DecodeFailed(uint32_t aStatus);
   async ResetVideoDecoderComplete();
   async DrainComplete();