gecko-dev/dom/media/gmp
Gerald Squelart 112525df79 Bug 1329385 - Fix leak in GMPServiceParent::GetContentParent - r=JamesCheng
Using a single-function MozPromise::Then, and capturing a UniquePtr (using
C++14 initialized lambda captures), the PromiseHolder cannot leak anymore.
Also using C++ initialized lambda captures for other variables, to avoid
unnecessary constructions and copies.

MozReview-Commit-ID: DVxyuJNa8YX

--HG--
extra : rebase_source : a7169d616da36597854bf37616228eb72636f2b7
2017-01-18 08:55:57 +11:00
..
gmp-api Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce 2017-09-28 15:50:28 +08:00
widevine-adapter Bug 1415466 - Part1 - Update content_decryption_module.h, there are no changes in the rest of headers. r=cpearce 2017-11-15 10:33:28 +08:00
ChromiumCDMAdapter.cpp Bug 1406080 - Part1 - Make ChromiumCDMAdapter and ChromiumCDMChild compatible with CDM version 8 and 9. r=cpearce 2017-10-11 23:39:47 +08:00
ChromiumCDMAdapter.h Bug 1390725 - Change the loading path of CDM host verification file on Mac. r=cpearce 2017-08-17 00:13:05 +08:00
ChromiumCDMCallback.h Bug 1404230 - Part4 - Add GetStatusForPolicy method in ipdl and implement it by calling CDM. r=cpearce 2017-10-24 10:55:03 +08:00
ChromiumCDMCallbackProxy.cpp Bug 1404230 - Part4 - Add GetStatusForPolicy method in ipdl and implement it by calling CDM. r=cpearce 2017-10-24 10:55:03 +08:00
ChromiumCDMCallbackProxy.h Bug 1404230 - Part4 - Add GetStatusForPolicy method in ipdl and implement it by calling CDM. r=cpearce 2017-10-24 10:55:03 +08:00
ChromiumCDMChild.cpp Bug 1417332 - Convert CDM Error to CDM Exception when we got OnLegacySessionError from CDM. r=cpearce 2017-11-15 15:55:39 +08:00
ChromiumCDMChild.h Bug 1415466 - Part2 - Fix compile error due to the interface change. r=cpearce 2017-11-15 10:57:22 +08:00
ChromiumCDMParent.cpp Bug 1417795 - remove mp4_demuxer namespace part6. r=kinetik 2017-11-17 11:57:44 +08:00
ChromiumCDMParent.h Bug 1404230 - Part4 - Add GetStatusForPolicy method in ipdl and implement it by calling CDM. r=cpearce 2017-10-24 10:55:03 +08:00
ChromiumCDMProxy.cpp Bug 1404230 - Part4 - Add GetStatusForPolicy method in ipdl and implement it by calling CDM. r=cpearce 2017-10-24 10:55:03 +08:00
ChromiumCDMProxy.h Bug 1404230 - Part4 - Add GetStatusForPolicy method in ipdl and implement it by calling CDM. r=cpearce 2017-10-24 10:55:03 +08:00
DecryptJob.cpp
DecryptJob.h
GMPCallbackBase.h
GMPChild.cpp Bug 1416686 - Reduce the uses of IPC_FAIL_NO_REASON in GMPChild.cpp. r=cpearce,dmajor 2017-11-13 09:35:03 +00:00
GMPChild.h Bug 1390725 - Change the loading path of CDM host verification file on Mac. r=cpearce 2017-08-17 00:13:05 +08:00
GMPContentChild.cpp Bug 1415466 - Part2 - Fix compile error due to the interface change. r=cpearce 2017-11-15 10:57:22 +08:00
GMPContentChild.h Bug 1403804 - P1 - Remove PGMPDecryptor.ipdl and its related code from code base. r=cpearce 2017-09-28 11:40:30 +08:00
GMPContentParent.cpp Bug 1403804 - P1 - Remove PGMPDecryptor.ipdl and its related code from code base. r=cpearce 2017-09-28 11:40:30 +08:00
GMPContentParent.h Bug 1403804 - P1 - Remove PGMPDecryptor.ipdl and its related code from code base. r=cpearce 2017-09-28 11:40:30 +08:00
GMPCrashHelper.cpp Bug 1388288 - Make EME/GMP related code build non-Unified. r=gerald 2017-08-08 16:36:01 +08:00
GMPCrashHelper.h
GMPCrashHelperHolder.cpp
GMPCrashHelperHolder.h Bug 1388288 - Make EME/GMP related code build non-Unified. r=gerald 2017-08-08 16:36:01 +08:00
GMPDiskStorage.cpp Bug 1401114 - Replace 'if (NS_FAILED(' with 'if (NS_WARN_IF(NS_FAILED(' under dom/media/gmp. r=gerald 2017-09-19 16:14:49 +08:00
GMPLoader.cpp Bug 1376957 - Call rand_s() before starting GMP sandbox on Windows. r=bobowen 2017-06-28 15:19:30 -07:00
GMPLoader.h
GMPLog.h
GMPMemoryStorage.cpp
GMPMessageUtils.h Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce 2017-09-28 15:50:28 +08:00
GMPParent.cpp Bug 1402519 - Remove MOZ_CRASHREPORTER directives from dom; r=peterv 2017-10-10 12:43:09 +02:00
GMPParent.h Bug 1402519 - Remove MOZ_CRASHREPORTER directives from dom; r=peterv 2017-10-10 12:43:09 +02:00
GMPPlatform.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPPlatform.h
GMPProcessChild.cpp Backed out 4 changesets (bug 1365309) for frequent xpcshell timeouts after 5400 seconds a=backout CLOSED TREE 2017-07-12 16:35:14 -07:00
GMPProcessChild.h
GMPProcessParent.cpp Bug 1401790 - Remove ProcessArchitecture from IPC. r=billm,jimm 2017-10-04 20:31:12 -06:00
GMPProcessParent.h
GMPService.cpp Bug 1415401 - Part1 - Make GetGMPContentParentPromise rejection function accept MediaResult. r=cpearce 2017-11-09 17:21:59 +08:00
GMPService.h Bug 1415401 - Part1 - Make GetGMPContentParentPromise rejection function accept MediaResult. r=cpearce 2017-11-09 17:21:59 +08:00
GMPServiceChild.cpp Bug 1415401 - Part3 - Add an out parameter to LaunchGMP interface in ipdl to better know the error detail when failure. r=cpearce 2017-11-10 11:28:45 +08:00
GMPServiceChild.h Bug 1415401 - Part2 - Make GetServiceChildPromise rejection function accept MediaResult and propagate the error result to GetContentParent rejection function. r=cpearce 2017-11-09 18:01:01 +08:00
GMPServiceParent.cpp Bug 1329385 - Fix leak in GMPServiceParent::GetContentParent - r=JamesCheng 2017-01-18 08:55:57 +11:00
GMPServiceParent.h Bug 1415401 - Part3 - Add an out parameter to LaunchGMP interface in ipdl to better know the error detail when failure. r=cpearce 2017-11-10 11:28:45 +08:00
GMPSharedMemManager.cpp
GMPSharedMemManager.h
GMPStorage.h
GMPStorageChild.cpp
GMPStorageChild.h
GMPStorageParent.cpp Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
GMPStorageParent.h
GMPTimerChild.cpp
GMPTimerChild.h
GMPTimerParent.cpp Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn 2017-10-15 23:15:40 -07:00
GMPTimerParent.h Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
GMPTypes.ipdlh Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce 2017-09-28 15:50:28 +08:00
GMPUtils.cpp Bug 1401114 - Replace 'if (NS_FAILED(' with 'if (NS_WARN_IF(NS_FAILED(' under dom/media/gmp. r=gerald 2017-09-19 16:14:49 +08:00
GMPUtils.h Bug 1406080 - Part1 - Make ChromiumCDMAdapter and ChromiumCDMChild compatible with CDM version 8 and 9. r=cpearce 2017-10-11 23:39:47 +08:00
GMPVideoDecoderChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPVideoDecoderChild.h
GMPVideoDecoderParent.cpp Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce 2017-09-28 15:50:28 +08:00
GMPVideoDecoderParent.h
GMPVideoDecoderProxy.h
GMPVideoEncodedFrameImpl.cpp Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce 2017-09-28 15:50:28 +08:00
GMPVideoEncodedFrameImpl.h Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce 2017-09-28 15:50:28 +08:00
GMPVideoEncoderChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPVideoEncoderChild.h
GMPVideoEncoderParent.cpp Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor 2017-06-13 01:54:13 -04:00
GMPVideoEncoderParent.h Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor 2017-06-13 01:54:13 -04:00
GMPVideoEncoderProxy.h
GMPVideoHost.cpp
GMPVideoHost.h
GMPVideoPlaneImpl.cpp
GMPVideoPlaneImpl.h
GMPVideoi420FrameImpl.cpp
GMPVideoi420FrameImpl.h
PChromiumCDM.ipdl Bug 1404230 - Part4 - Add GetStatusForPolicy method in ipdl and implement it by calling CDM. r=cpearce 2017-10-24 10:55:03 +08:00
PGMP.ipdl
PGMPContent.ipdl Bug 1403804 - P1 - Remove PGMPDecryptor.ipdl and its related code from code base. r=cpearce 2017-09-28 11:40:30 +08:00
PGMPService.ipdl Bug 1415401 - Part3 - Add an out parameter to LaunchGMP interface in ipdl to better know the error detail when failure. r=cpearce 2017-11-10 11:28:45 +08:00
PGMPStorage.ipdl
PGMPTimer.ipdl
PGMPVideoDecoder.ipdl
PGMPVideoEncoder.ipdl
README.txt
moz.build Bug 1403830 - [Part1] Remove gmp-decryption.h and its related code. r=cpearce 2017-09-28 15:50:28 +08:00
mozIGeckoMediaPluginChromeService.idl
mozIGeckoMediaPluginService.idl Bug 1403804 - P1 - Remove PGMPDecryptor.ipdl and its related code from code base. r=cpearce 2017-09-28 11:40:30 +08:00

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).