Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8

The changes to ipdl actors were mechanical, and largely automated using
a script.

Differential Revision: https://phabricator.services.mozilla.com/D137237
This commit is contained in:
Nika Layzell 2022-02-09 17:29:47 +00:00
parent fca4b089dd
commit dabb46c84d
259 changed files with 267 additions and 236 deletions

View file

@ -9,6 +9,7 @@ include protocol PDocAccessible;
namespace mozilla {
namespace a11y {
[ManualDealloc]
protocol PDocAccessiblePlatformExt {
manager PDocAccessible;

View file

@ -23,7 +23,7 @@ struct TextAttributesRun {
};
[NestedUpTo=inside_sync] sync protocol PDocAccessiblePlatformExt {
[ManualDealloc, NestedUpTo=inside_sync] sync protocol PDocAccessiblePlatformExt {
manager PDocAccessible;
child:

View file

@ -9,6 +9,7 @@ include protocol PDocAccessible;
namespace mozilla {
namespace a11y {
[ManualDealloc]
protocol PDocAccessiblePlatformExt {
manager PDocAccessible;

View file

@ -79,7 +79,7 @@ struct TextRangeData
int32_t EndOffset;
};
[NestedUpTo=inside_sync, ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, NestedUpTo=inside_sync, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PDocAccessible
{
manager PBrowser;

View file

@ -43,7 +43,7 @@ struct ShowEventData
bool EventSuppressed;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PDocAccessible
{
manager PBrowser;

View file

@ -22,6 +22,7 @@ union OpenHeapSnapshotTempFileResponse
OpenedFile;
};
[ManualDealloc]
sync protocol PHeapSnapshotTempFileHelper
{
manager PContent;

View file

@ -16,7 +16,7 @@ namespace mozilla {
namespace dom {
// This protocol is used for the BroadcastChannel API
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PBroadcastChannel
{
manager PBackground;

View file

@ -15,6 +15,7 @@ namespace mozilla {
namespace dom {
namespace cache {
[ManualDealloc]
protocol PCache
{
manager PBackground;

View file

@ -19,6 +19,7 @@ namespace mozilla {
namespace dom {
namespace cache {
[ManualDealloc]
protocol PCacheOp
{
manager PCache or PCacheStorage;

View file

@ -16,6 +16,7 @@ namespace mozilla {
namespace dom {
namespace cache {
[ManualDealloc]
protocol PCacheStorage
{
manager PBackground;

View file

@ -14,7 +14,7 @@ namespace mozilla {
namespace dom {
namespace cache {
[RefCounted] protocol PCacheStreamControl
protocol PCacheStreamControl
{
manager PBackground;

View file

@ -35,7 +35,7 @@ namespace dom {
* command from the content process, and a WebGLParent in the compositor
* process that runs the commands.
*/
[RefCounted] sync protocol PWebGL
sync protocol PWebGL
{
manager PCanvasManager;

View file

@ -15,7 +15,7 @@ include "mozilla/ipc/ProtocolMessageUtils.h";
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PClientHandle
{
manager PClientManager;

View file

@ -8,7 +8,7 @@ include ClientIPCTypes;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PClientHandleOp
{
manager PClientHandle;

View file

@ -16,7 +16,7 @@ include ClientIPCTypes;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PClientManager
{
manager PBackground;

View file

@ -8,7 +8,7 @@ include ClientIPCTypes;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PClientManagerOp
{
manager PClientManager;

View file

@ -8,7 +8,7 @@ include ClientIPCTypes;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PClientNavigateOp
{
manager PClientManager;

View file

@ -13,7 +13,7 @@ include ClientIPCTypes;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PClientSource
{
manager PClientManager;

View file

@ -8,7 +8,7 @@ include ClientIPCTypes;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PClientSourceOp
{
manager PClientSource;

View file

@ -29,6 +29,7 @@ union FileCreationResult
FileCreationErrorResult;
};
[ManualDealloc]
protocol PFileCreator
{
manager PBackground;

View file

@ -13,7 +13,7 @@ include IPCStream;
namespace mozilla {
[RefCounted] protocol PRemoteLazyInputStream
protocol PRemoteLazyInputStream
{
manager PBackground or PContent or PSocketProcess;

View file

@ -19,6 +19,7 @@ union IPCBlobOrError
nsresult;
};
[ManualDealloc]
protocol PTemporaryIPCBlob
{
manager PBackground;

View file

@ -69,7 +69,7 @@ union FileRequestParams
FileRequestFlushParams;
};
[ChildImpl="indexedDB::BackgroundFileHandleChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="indexedDB::BackgroundFileHandleChild", ParentImpl=virtual]
protocol PBackgroundFileHandle
{
manager PBackgroundMutableFile;

View file

@ -49,7 +49,7 @@ union FileRequestResponse
FileRequestFlushResponse;
};
[ChildImpl="indexedDB::BackgroundFileRequestChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="indexedDB::BackgroundFileRequestChild", ParentImpl=virtual]
protocol PBackgroundFileRequest
{
manager PBackgroundFileHandle;

View file

@ -15,7 +15,7 @@ using mozilla::dom::FileMode
namespace mozilla {
namespace dom {
[ChildImpl="indexedDB::BackgroundMutableFileChild", ParentImpl="BackgroundMutableFileParentBase"]
[ManualDealloc, ChildImpl="indexedDB::BackgroundMutableFileChild", ParentImpl="BackgroundMutableFileParentBase"]
sync protocol PBackgroundMutableFile
{
manager PBackgroundIDBDatabase;

View file

@ -68,7 +68,7 @@ union FileSystemResponseValue
FileSystemErrorResponse;
};
[RefCounted, ChildImpl="FileSystemTaskChildBase"]
[ChildImpl="FileSystemTaskChildBase"]
protocol PFileSystemRequest
{
manager PBackground;

View file

@ -10,7 +10,7 @@ using mozilla::dom::GamepadHandle from "mozilla/dom/GamepadHandle.h";
namespace mozilla {
namespace dom {
[RefCounted] protocol PGamepadEventChannel {
protocol PGamepadEventChannel {
manager PBackground;
parent:
async __delete__();

View file

@ -10,7 +10,7 @@ using mozilla::dom::GamepadHandle from "mozilla/dom/GamepadHandle.h";
namespace mozilla {
namespace dom {
[RefCounted] protocol PGamepadTestChannel {
protocol PGamepadTestChannel {
manager PBackground;
parent:
async GamepadTestEvent(uint32_t aID, GamepadChangeEvent aGamepadEvent);

View file

@ -84,7 +84,7 @@ union CursorResponse
IndexKeyCursorResponse[];
};
[RefCounted, ChildImpl="indexedDB::BackgroundCursorChildBase", ParentImpl=virtual]
[ChildImpl="indexedDB::BackgroundCursorChildBase", ParentImpl=virtual]
protocol PBackgroundIDBCursor
{
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;

View file

@ -40,7 +40,7 @@ union DatabaseRequestParams
CreateFileParams;
};
[ChildImpl="indexedDB::BackgroundDatabaseChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="indexedDB::BackgroundDatabaseChild", ParentImpl=virtual]
sync protocol PBackgroundIDBDatabase
{
manager PBackgroundIDBFactory;

View file

@ -8,7 +8,7 @@ namespace mozilla {
namespace dom {
namespace indexedDB {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PBackgroundIDBDatabaseFile
{
manager PBackgroundIDBDatabase;

View file

@ -22,7 +22,7 @@ union DatabaseRequestResponse
CreateFileRequestResponse;
};
[ChildImpl="indexedDB::BackgroundDatabaseRequestChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="indexedDB::BackgroundDatabaseRequestChild", ParentImpl=virtual]
protocol PBackgroundIDBDatabaseRequest
{
manager PBackgroundIDBDatabase;

View file

@ -40,7 +40,7 @@ union FactoryRequestParams
DeleteDatabaseRequestParams;
};
[RefCounted, ChildImpl="indexedDB::BackgroundFactoryChild", ParentImpl=virtual]
[ChildImpl="indexedDB::BackgroundFactoryChild", ParentImpl=virtual]
sync protocol PBackgroundIDBFactory
{
manager PBackground;

View file

@ -30,7 +30,7 @@ union FactoryRequestResponse
DeleteDatabaseRequestResponse;
};
[ChildImpl="indexedDB::BackgroundFactoryRequestChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="indexedDB::BackgroundFactoryRequestChild", ParentImpl=virtual]
protocol PBackgroundIDBFactoryRequest
{
manager PBackgroundIDBFactory;

View file

@ -147,7 +147,7 @@ union PreprocessResponse
ObjectStoreGetAllPreprocessResponse;
};
[ChildImpl="indexedDB::BackgroundRequestChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="indexedDB::BackgroundRequestChild", ParentImpl=virtual]
protocol PBackgroundIDBRequest
{
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;

View file

@ -16,7 +16,7 @@ namespace mozilla {
namespace dom {
namespace indexedDB {
[RefCounted, ChildImpl="indexedDB::BackgroundTransactionChild", ParentImpl=virtual]
[ChildImpl="indexedDB::BackgroundTransactionChild", ParentImpl=virtual]
protocol PBackgroundIDBTransaction {
manager PBackgroundIDBDatabase;

View file

@ -20,7 +20,7 @@ namespace mozilla {
namespace dom {
namespace indexedDB {
[RefCounted, ChildImpl="indexedDB::BackgroundVersionChangeTransactionChild", ParentImpl=virtual]
[ChildImpl="indexedDB::BackgroundVersionChangeTransactionChild", ParentImpl=virtual]
protocol PBackgroundIDBVersionChangeTransaction {
manager PBackgroundIDBDatabase;

View file

@ -14,7 +14,7 @@ namespace mozilla {
namespace dom {
namespace indexedDB {
[ChildImpl="indexedDB::BackgroundUtilsChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="indexedDB::BackgroundUtilsChild", ParentImpl=virtual]
sync protocol PBackgroundIndexedDBUtils
{
manager PBackground;

View file

@ -178,7 +178,7 @@ struct PrintPreviewResultInfo
* See `dom/docs/Fission-IPC-Diagram.svg` for an overview of the DOM IPC
* actors.
*/
[NestedUpTo=inside_cpow, RefCounted] sync protocol PBrowser
[NestedUpTo=inside_cpow] sync protocol PBrowser
{
manager PContent;

View file

@ -41,7 +41,7 @@ namespace dom {
* See `dom/docs/Fission-IPC-Diagram.svg` for an overview of the DOM IPC
* actors.
*/
[RefCounted] async protocol PBrowserBridge {
async protocol PBrowserBridge {
manager PBrowser;
child:

View file

@ -10,7 +10,7 @@ include protocol PBrowser;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PColorPicker
{
manager PBrowser;

View file

@ -430,7 +430,7 @@ union BlobURLDataRequestResult
* and a content process. There is exactly one PContentParent/PContentChild pair
* for each content process.
*/
[NestedUpTo=inside_cpow, NeedsOtherPid]
[ManualDealloc, NestedUpTo=inside_cpow, NeedsOtherPid]
sync protocol PContent
{
manages PBrowser;

View file

@ -10,7 +10,7 @@ include "nsContentPermissionHelper.h";
namespace mozilla {
namespace dom {
[ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
[ManualDealloc, ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
protocol PContentPermissionRequest
{
manager PContent;

View file

@ -8,7 +8,7 @@ include protocol PContent;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PCycleCollectWithLogs {
manager PContent;

View file

@ -34,7 +34,7 @@ union MaybeInputData
void_t;
};
[ChildImpl=virtual]
[ManualDealloc, ChildImpl=virtual]
protocol PFilePicker
{
manager PBrowser;

View file

@ -20,7 +20,7 @@ namespace dom {
* `mozilla::dom::InProcess{Parent, Child}::Singleton()` should be used to get
* an instance of this actor.
*/
[RefCounted] async protocol PInProcess
async protocol PInProcess
{
manages PExtensions;
manages PWindowGlobal;

View file

@ -16,7 +16,7 @@ namespace dom {
// on a password field. Right now this is an one way IPC call (No callback
// will return after parent receives the IPC message) since we just process
// the URL in parent (LoginReputationService) and stores the result to telemetry.
[ChildImpl=virtual, ParentImpl="LoginReputationParent"]
[ManualDealloc, ChildImpl=virtual, ParentImpl="LoginReputationParent"]
protocol PLoginReputation
{
manager PContent;

View file

@ -23,7 +23,7 @@ struct SlowScriptData
double duration;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PProcessHangMonitor
{
parent:

View file

@ -11,6 +11,7 @@ include PURLClassifierInfo;
namespace mozilla {
namespace dom {
[ManualDealloc]
protocol PURLClassifier
{
manager PContent;

View file

@ -25,7 +25,7 @@ struct URLClassifierLocalResult
nsCString matchingList;
};
[ChildImpl="URLClassifierLocalChild", ParentImpl="URLClassifierLocalParent"]
[ManualDealloc, ChildImpl="URLClassifierLocalChild", ParentImpl="URLClassifierLocalParent"]
protocol PURLClassifierLocal
{
manager PContent;

View file

@ -18,7 +18,7 @@ namespace dom {
* notify the vsync event from chrome to content process. It also provides the
* interfaces for content to observe/unobserve vsync event notifications.
*/
[RefCounted] async protocol PVsync
async protocol PVsync
{
manager PBackground or PBrowser;

View file

@ -59,7 +59,7 @@ struct IPCWebShareData
* link either between the chrome/content process, or will be in-process, for
* documents which are loaded in the chrome process.
*/
[RefCounted] async protocol PWindowGlobal
async protocol PWindowGlobal
{
manager PBrowser or PInProcess;

View file

@ -80,7 +80,7 @@ struct LSSnapshotInitInfo
* ContentParent::AboutToLoadHttpFtpDocumentForChild, the central place
* for pre-loading.)
*/
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PBackgroundLSDatabase
{
manager PBackground;

View file

@ -24,7 +24,7 @@ namespace dom {
* key "foo" to have value "bar" when it already has value "bar" will never
* result in a "storage" event.
*/
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
async protocol PBackgroundLSObserver
{
manager PBackground;

View file

@ -44,7 +44,7 @@ union LSRequestResponse
* response types above for their corresponding responses, and `RequestHelper`
* for more on the usage and lifecycle of this mechanism.
*/
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PBackgroundLSRequest
{
manager PBackground;

View file

@ -38,7 +38,7 @@ union LSSimpleRequestResponse
* Request types are indicated by the Params variant used and those live in
* `PBackgroundLSSharedTypes.ipdlh`.
*/
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PBackgroundLSSimpleRequest
{
manager PBackground;

View file

@ -63,7 +63,7 @@ union LSWriteAndNotifyInfo
LSClearInfo;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PBackgroundLSSnapshot
{
manager PBackgroundLSDatabase;

View file

@ -21,7 +21,6 @@ struct IPCLockRequest {
bool steal;
};
[RefCounted]
protocol PLockManager {
manager PBackground;
manages PLockRequest;

View file

@ -12,7 +12,6 @@ namespace mozilla {
namespace dom {
namespace locks {
[RefCounted]
protocol PLockRequest {
manager PLockManager;

View file

@ -14,7 +14,7 @@ using cdm::HdcpVersion from "GMPSanitizedExports.h";
namespace mozilla {
namespace gmp {
[RefCounted, ChildImpl=virtual, ParentImpl="ChromiumCDMParent"]
[ChildImpl=virtual, ParentImpl="ChromiumCDMParent"]
async protocol PChromiumCDM
{
manager PGMPContent;

View file

@ -17,7 +17,7 @@ using mozilla::dom::NativeThreadId from "mozilla/dom/NativeThreadId.h";
namespace mozilla {
namespace gmp {
[NeedsOtherPid, NestedUpTo=inside_sync, ChildImpl="GMPChild", ParentImpl="GMPParent"]
[ManualDealloc, NeedsOtherPid, NestedUpTo=inside_sync, ChildImpl="GMPChild", ParentImpl="GMPParent"]
sync protocol PGMP
{
manages PGMPTimer;

View file

@ -16,7 +16,7 @@ include "GMPContentChild.h";
namespace mozilla {
namespace gmp {
[RefCounted, NeedsOtherPid, ChildImpl="GMPContentChild", ParentImpl=virtual]
[NeedsOtherPid, ChildImpl="GMPContentChild", ParentImpl=virtual]
sync protocol PGMPContent
{
manages PGMPVideoDecoder;

View file

@ -11,7 +11,7 @@ using base::ProcessId from "base/process.h";
namespace mozilla {
namespace gmp {
[RefCounted, NeedsOtherPid, ChildImpl=virtual, ParentImpl=virtual]
[NeedsOtherPid, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PGMPService
{
parent:

View file

@ -13,7 +13,7 @@ using GMPErr from "gmp-errors.h";
namespace mozilla {
namespace gmp {
[ChildImpl="GMPStorageChild", ParentImpl=virtual]
[ManualDealloc, ChildImpl="GMPStorageChild", ParentImpl=virtual]
async protocol PGMPStorage
{
manager PGMP;

View file

@ -11,7 +11,7 @@ include "GMPTimerChild.h";
namespace mozilla {
namespace gmp {
[ChildImpl="GMPTimerChild", ParentImpl="GMPTimerParent"]
[ManualDealloc, ChildImpl="GMPTimerChild", ParentImpl="GMPTimerParent"]
async protocol PGMPTimer
{
manager PGMP;

View file

@ -15,7 +15,7 @@ include "GMPVideoDecoderChild.h";
namespace mozilla {
namespace gmp {
[RefCounted, ChildImpl="GMPVideoDecoderChild", ParentImpl=virtual]
[ChildImpl="GMPVideoDecoderChild", ParentImpl=virtual]
sync protocol PGMPVideoDecoder
{
manager PGMPContent;

View file

@ -16,7 +16,7 @@ include "GMPVideoEncoderChild.h";
namespace mozilla {
namespace gmp {
[RefCounted, ChildImpl="GMPVideoEncoderChild", ParentImpl=virtual]
[ChildImpl="GMPVideoEncoderChild", ParentImpl=virtual]
sync protocol PGMPVideoEncoder
{
manager PGMPContent;

View file

@ -32,7 +32,7 @@ namespace mozilla {
// (RemoteDataDecoder) process. There is one instance of this protocol,
// with the RDDParent living on the main thread of the RDD process and
// the RDDChild living on the main thread of the UI process.
[NeedsOtherPid]
[ManualDealloc, NeedsOtherPid]
protocol PRDD
{
parent:

View file

@ -52,6 +52,7 @@ union DecodeResultIPDL
// The child side runs in the content process, and the parent side runs
// in the RDD process or the GPU process. We run a separate IPDL thread
// for both sides.
[ManualDealloc]
async protocol PRemoteDecoder
{
manager PRemoteDecoderManager;

View file

@ -29,7 +29,7 @@ union RemoteDecoderInfoIPDL
VideoDecoderInfoIPDL;
};
[NeedsOtherPid]
[ManualDealloc, NeedsOtherPid]
sync protocol PRemoteDecoderManager
{
manages PRemoteDecoder;

View file

@ -7,6 +7,7 @@ include protocol PContent;
namespace mozilla {
[ManualDealloc]
async protocol PBenchmarkStorage
{
manager PContent;

View file

@ -48,7 +48,7 @@ struct VideoFrameProperties
int vStride;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
async protocol PCameras
{
manager PBackground;

View file

@ -11,7 +11,7 @@ include "mozilla/media/MediaChild.h";
namespace mozilla {
namespace media {
[ChildImpl="Child", ParentImpl=virtual]
[ManualDealloc, ChildImpl="Child", ParentImpl=virtual]
protocol PMedia
{
manager PContent;

View file

@ -14,6 +14,7 @@ namespace media {
/*
* The PMediaSystemResourceManager is a sub-protocol in PImageBridge
*/
[ManualDealloc]
sync protocol PMediaSystemResourceManager
{
manager PImageBridge;

View file

@ -28,6 +28,7 @@ using net::NrIceStunAddrArray from "mozilla/net/PStunAddrsParams.h";
namespace mozilla {
namespace dom {
[ManualDealloc]
async protocol PMediaTransport {
manager PBackground;

View file

@ -14,7 +14,7 @@ using WebrtcGlobalLog from "mozilla/media/webrtc/WebrtcGlobal.h";
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
async protocol PWebrtcGlobal {
manager PContent;

View file

@ -12,7 +12,7 @@ include "mozilla/net/NrIceStunAddrMessageUtils.h";
namespace mozilla {
namespace net {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
async protocol PStunAddrsRequest
{
manager PNecko;

View file

@ -15,7 +15,7 @@ using mozilla::dom::TabId from "mozilla/dom/ipc/IdType.h";
namespace mozilla {
namespace net {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
async protocol PWebrtcTCPSocket
{
manager PNecko or PSocketProcess;

View file

@ -18,6 +18,7 @@ struct RemoteVoice {
bool queued;
};
[ManualDealloc]
sync protocol PSpeechSynthesis
{
manager PContent;

View file

@ -9,7 +9,7 @@ include protocol PSpeechSynthesis;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
async protocol PSpeechSynthesisRequest
{
manager PSpeechSynthesis;

View file

@ -15,6 +15,7 @@ namespace mozilla {
namespace dom {
// This protocol is used for the MessageChannel/MessagePort API
[ManualDealloc]
protocol PMessagePort
{
manager PBackground;

View file

@ -8,6 +8,7 @@ include MIDITypes;
namespace mozilla {
namespace dom {
[ManualDealloc]
async protocol PMIDIManager
{
manager PBackground;

View file

@ -10,6 +10,7 @@ include MIDITypes;
namespace mozilla {
namespace dom {
[ManualDealloc]
async protocol PMIDIPort
{
manager PBackground;

View file

@ -16,7 +16,7 @@ namespace mozilla {
namespace net {
//-------------------------------------------------------------------
[ChildImpl="mozilla::dom::TCPServerSocketChild", ParentImpl="mozilla::dom::TCPServerSocketParent"]
[ManualDealloc, ChildImpl="mozilla::dom::TCPServerSocketChild", ParentImpl="mozilla::dom::TCPServerSocketParent"]
protocol PTCPServerSocket
{
manager PNecko;

View file

@ -34,7 +34,7 @@ namespace mozilla {
namespace net {
//-------------------------------------------------------------------
[ChildImpl="mozilla::dom::TCPSocketChild", ParentImpl="mozilla::dom::TCPSocketParent"]
[ManualDealloc, ChildImpl="mozilla::dom::TCPSocketChild", ParentImpl="mozilla::dom::TCPSocketParent"]
protocol PTCPSocket
{
manager PNecko;

View file

@ -41,7 +41,7 @@ namespace mozilla {
namespace net {
//-------------------------------------------------------------------
[ChildImpl="mozilla::dom::UDPSocketChild", ParentImpl="mozilla::dom::UDPSocketParent"]
[ManualDealloc, ChildImpl="mozilla::dom::UDPSocketChild", ParentImpl="mozilla::dom::UDPSocketParent"]
protocol PUDPSocket
{
manager PNecko or PBackground;

View file

@ -227,6 +227,7 @@ union IPCMethodChangeDetails
IPCBasicCardChangeDetails;
};
[ManualDealloc]
sync protocol PPaymentRequest
{
manager PBrowser;

View file

@ -153,7 +153,7 @@ union RequestParams
ListOriginsParams;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PQuota
{
manager PBackground;

View file

@ -113,7 +113,7 @@ union RequestResponse
ListOriginsResponse;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PQuotaRequest
{
manager PQuota;

View file

@ -34,7 +34,7 @@ union UsageRequestResponse
OriginUsageResponse;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PQuotaUsageRequest
{
manager PQuota;

View file

@ -7,6 +7,7 @@ include protocol PBackground;
namespace mozilla {
namespace dom {
[ManualDealloc]
protocol PEndpointForReport
{
manager PBackground;

View file

@ -10,6 +10,7 @@ include FetchTypes;
namespace mozilla {
namespace dom {
[ManualDealloc]
protocol PFetchEventOp {
manager PRemoteWorkerController;

View file

@ -10,7 +10,7 @@ include FetchTypes;
namespace mozilla {
namespace dom {
[RefCounted] protocol PFetchEventOpProxy {
protocol PFetchEventOpProxy {
manager PRemoteWorker;
parent:

View file

@ -10,7 +10,7 @@ include DOMTypes;
namespace mozilla {
namespace dom {
[RefCounted, ChildImpl=virtual, ParentImpl=virtual]
[ChildImpl=virtual, ParentImpl=virtual]
protocol PServiceWorker
{
manager PBackground;

View file

@ -12,7 +12,7 @@ include "mozilla/dom/ServiceWorkerIPCUtils.h";
namespace mozilla {
namespace dom {
[RefCounted, ChildImpl=virtual, ParentImpl=virtual]
[ChildImpl=virtual, ParentImpl=virtual]
protocol PServiceWorkerContainer
{
manager PBackground;

View file

@ -12,6 +12,7 @@ using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
namespace mozilla {
namespace dom {
[ManualDealloc]
protocol PServiceWorkerManager
{
manager PBackground;

View file

@ -12,7 +12,7 @@ include "ipc/ErrorIPCUtils.h";
namespace mozilla {
namespace dom {
[RefCounted, ChildImpl=virtual, ParentImpl=virtual]
[ChildImpl=virtual, ParentImpl=virtual]
protocol PServiceWorkerRegistration
{
manager PBackground;

View file

@ -41,7 +41,7 @@ union SDBRequestParams
SDBRequestCloseParams;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PBackgroundSDBConnection
{
manager PBackground;

View file

@ -38,7 +38,7 @@ union SDBRequestResponse
SDBRequestCloseResponse;
};
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
protocol PBackgroundSDBRequest
{
manager PBackgroundSDBConnection;

View file

@ -9,7 +9,7 @@ include PBackgroundSharedTypes;
namespace mozilla {
namespace dom {
[ChildImpl=virtual, ParentImpl=virtual]
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
async protocol PBackgroundLocalStorageCache
{
manager PBackground;

Some files were not shown because too many files have changed in this diff Show more