gecko-dev/dom/media/gmp
Eric Rahm 6ea4ed1c80 Bug 1322095 - Part 2: Remove nsAutoPtr from dom/media. r=jya
This converts `nsAutoPtr` usage in dom/media to `UniquePtr`. Beyond just a
search and replace we also needed to update assignment and access of the
`UniquePtr`s. This falls into a few categories:
  - Assignment from a newly constructed object switches to `MakeUnique`
  - Assignment from a raw ptr switches to `UniquePtr::reset`
  - Handing out a raw ptr now requires `UniquePtr::get`
  - Uses `UniquePtr::release` rather than `nsAutoPtr::forget`
  - A few spots are updated to return a `UniquePtr` rather than a raw ptr

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

--HG--
extra : moz-landing-system : lando
2020-02-21 22:44:00 +00:00
..
gmp-api
rlz
widevine-adapter
CDMStorageIdProvider.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
CDMStorageIdProvider.h
ChromiumCDMAdapter.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
ChromiumCDMAdapter.h
ChromiumCDMCallback.h Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
ChromiumCDMCallbackProxy.cpp Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
ChromiumCDMCallbackProxy.h Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
ChromiumCDMChild.cpp Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
ChromiumCDMChild.h
ChromiumCDMParent.cpp Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
ChromiumCDMParent.h Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
ChromiumCDMProxy.cpp Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
ChromiumCDMProxy.h Bug 1615035. Use ErrorResults, not nsresults, to propagate errors in CDM code. r=bryce 2020-02-19 01:15:33 +00:00
DecryptJob.cpp
DecryptJob.h
GMPCallbackBase.h
GMPChild.cpp Bug 1557739 - Be more consistent with IPC Transport APIs, r=jld 2020-02-06 22:41:56 +00:00
GMPChild.h Bug 1557739 - Be more consistent with IPC Transport APIs, r=jld 2020-02-06 22:41:56 +00:00
GMPContentChild.cpp
GMPContentChild.h
GMPContentParent.cpp
GMPContentParent.h
GMPCrashHelper.cpp
GMPCrashHelper.h
GMPCrashHelperHolder.cpp
GMPCrashHelperHolder.h
GMPDiskStorage.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
GMPLoader.cpp Bug 1599230 - Part 2 - Remove GMP sandbox earlyinit pref and older sandbox startup code paths r!mjf r=mjf 2019-12-21 00:31:50 +00:00
GMPLoader.h Bug 1599230 - Part 2 - Remove GMP sandbox earlyinit pref and older sandbox startup code paths r!mjf r=mjf 2019-12-21 00:31:50 +00:00
GMPLog.h
GMPMemoryStorage.cpp
GMPMessageUtils.h
GMPParent.cpp Bug 1616262 - Prevent the main process from crashing in response to an early GPU/VR/Socket/RDD process crash r=froydnj 2020-02-19 10:40:29 +00:00
GMPParent.h Bug 1616262 - Prevent the main process from crashing in response to an early GPU/VR/Socket/RDD process crash r=froydnj 2020-02-19 10:40:29 +00:00
GMPPlatform.cpp
GMPPlatform.h
GMPProcessChild.cpp Bug 1557739 - Be more consistent with IPC Transport APIs, r=jld 2020-02-06 22:41:56 +00:00
GMPProcessChild.h
GMPProcessParent.cpp Bug 1599230 - Part 2 - Remove GMP sandbox earlyinit pref and older sandbox startup code paths r!mjf r=mjf 2019-12-21 00:31:50 +00:00
GMPProcessParent.h
GMPService.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
GMPService.h
GMPServiceChild.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
GMPServiceChild.h
GMPServiceParent.cpp Bug 1322095 - Part 2: Remove nsAutoPtr from dom/media. r=jya 2020-02-21 22:44:00 +00:00
GMPServiceParent.h Bug 1616848 - Remove monitor from MozPromiseHolder and provide separate MozMonitoredPromiseHolder class. r=froydnj 2020-02-20 14:53:20 +00:00
GMPSharedMemManager.cpp
GMPSharedMemManager.h
GMPStorage.h
GMPStorageChild.cpp
GMPStorageChild.h
GMPStorageParent.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
GMPStorageParent.h
GMPTimerChild.cpp
GMPTimerChild.h
GMPTimerParent.cpp Bug 1322095 - Part 2: Remove nsAutoPtr from dom/media. r=jya 2020-02-21 22:44:00 +00:00
GMPTimerParent.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
GMPTypes.ipdlh
GMPUtils.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
GMPUtils.h
GMPVideoDecoderChild.cpp
GMPVideoDecoderChild.h
GMPVideoDecoderParent.cpp
GMPVideoDecoderParent.h
GMPVideoDecoderProxy.h
GMPVideoEncodedFrameImpl.cpp
GMPVideoEncodedFrameImpl.h Bug 1322095 - Part 2: Remove nsAutoPtr from dom/media. r=jya 2020-02-21 22:44:00 +00:00
GMPVideoEncoderChild.cpp
GMPVideoEncoderChild.h
GMPVideoEncoderParent.cpp
GMPVideoEncoderParent.h
GMPVideoEncoderProxy.h
GMPVideoHost.cpp
GMPVideoHost.h
GMPVideoPlaneImpl.cpp
GMPVideoPlaneImpl.h
GMPVideoi420FrameImpl.cpp
GMPVideoi420FrameImpl.h
PChromiumCDM.ipdl
PGMP.ipdl
PGMPContent.ipdl
PGMPService.ipdl
PGMPStorage.ipdl
PGMPTimer.ipdl
PGMPVideoDecoder.ipdl
PGMPVideoEncoder.ipdl
README.txt
moz.build
mozIGeckoMediaPluginChromeService.idl
mozIGeckoMediaPluginService.idl Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00: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).