gecko-dev/dom/media/gmp
Jean-Yves Avenard 48517afae6 Bug 1512298 - Make IPDL MozPromise exclusive. r=gerald,froydnj
MozPromise most common use is to have an single or exclusive listener. By making the MozPromise generated by IPDL exclusive we can also use move semantics.

While at it, we also use move semantics for the ResponseRejectReason and via the callback's reject method so that the lambda used with the MozPromise::Then can be identical to the one used by the IPDL callback.
As it currently is, it provides no advantage over a copy as it's just an enum; however, this will facilitate future changes where it may not be.

Differential Revision: https://phabricator.services.mozilla.com/D13906

--HG--
extra : moz-landing-system : lando
2018-12-11 19:22:26 +00:00
..
gmp-api Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
rlz
widevine-adapter Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
CDMStorageIdProvider.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
CDMStorageIdProvider.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMAdapter.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMAdapter.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMCallback.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMCallbackProxy.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMCallbackProxy.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMParent.cpp Bug 1512298 - Make IPDL MozPromise exclusive. r=gerald,froydnj 2018-12-11 19:22:26 +00:00
ChromiumCDMParent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMProxy.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChromiumCDMProxy.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DecryptJob.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DecryptJob.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPCallbackBase.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPContentChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPContentChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPContentParent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPContentParent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPCrashHelper.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPCrashHelper.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPCrashHelperHolder.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPCrashHelperHolder.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPDiskStorage.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPLoader.cpp Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
GMPLoader.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
GMPLog.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPMemoryStorage.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPMessageUtils.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPParent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPParent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPPlatform.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPPlatform.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPProcessChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPProcessChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPProcessParent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPProcessParent.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
GMPService.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPService.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPServiceChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPServiceChild.h Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj 2018-11-26 14:49:44 +00:00
GMPServiceParent.cpp Bug 1510265 - P2. Don't use AllPromiseType in GMPServiceParent. r=gerald 2018-12-06 20:16:15 +00:00
GMPServiceParent.h Bug 1510265 - P2. Don't use AllPromiseType in GMPServiceParent. r=gerald 2018-12-06 20:16:15 +00:00
GMPSharedMemManager.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPSharedMemManager.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPStorage.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPStorageChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPStorageChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPStorageParent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPStorageParent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPTimerChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPTimerChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPTimerParent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPTimerParent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPTypes.ipdlh Bug 1487811 - P3: Add CDM10 functions to IPDL. r=cpearce 2018-09-13 14:49:45 +00:00
GMPUtils.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPUtils.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoDecoderChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoDecoderChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoDecoderParent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoDecoderParent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoDecoderProxy.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoEncodedFrameImpl.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoEncodedFrameImpl.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoEncoderChild.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoEncoderChild.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoEncoderParent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoEncoderParent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoEncoderProxy.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoHost.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoHost.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoPlaneImpl.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoPlaneImpl.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoi420FrameImpl.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GMPVideoi420FrameImpl.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PChromiumCDM.ipdl Bug 1491889 - Update chromium CDM interface to accommodate async init. r=cpearce 2018-09-25 13:33:09 +00:00
PGMP.ipdl Bug 1420836 - Part2 - Pass the storage id from content process to GMP process then provide it to CDM. r=cpearce 2018-01-03 15:37:07 +08:00
PGMPContent.ipdl
PGMPService.ipdl
PGMPStorage.ipdl
PGMPTimer.ipdl
PGMPVideoDecoder.ipdl
PGMPVideoEncoder.ipdl
README.txt
moz.build Bug 1487811 - P1: Update Widevine headers and C++ code to prepare for CDM interface 10 support. r=cpearce 2018-09-13 14:49:10 +00:00
mozIGeckoMediaPluginChromeService.idl Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika 2018-09-06 18:02:43 +10:00
mozIGeckoMediaPluginService.idl

README.txt

This directory contains code supporting Gecko Media Plugins (GMPs). The GMP API is not the same thing as the Media Plugin API (MPAPI).