forked from mirrors/gecko-dev
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:
parent
fca4b089dd
commit
dabb46c84d
259 changed files with 267 additions and 236 deletions
|
|
@ -9,6 +9,7 @@ include protocol PDocAccessible;
|
|||
namespace mozilla {
|
||||
namespace a11y {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PDocAccessiblePlatformExt {
|
||||
manager PDocAccessible;
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ struct TextAttributesRun {
|
|||
};
|
||||
|
||||
|
||||
[NestedUpTo=inside_sync] sync protocol PDocAccessiblePlatformExt {
|
||||
[ManualDealloc, NestedUpTo=inside_sync] sync protocol PDocAccessiblePlatformExt {
|
||||
manager PDocAccessible;
|
||||
|
||||
child:
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ include protocol PDocAccessible;
|
|||
namespace mozilla {
|
||||
namespace a11y {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PDocAccessiblePlatformExt {
|
||||
manager PDocAccessible;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ struct ShowEventData
|
|||
bool EventSuppressed;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
sync protocol PDocAccessible
|
||||
{
|
||||
manager PBrowser;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ union OpenHeapSnapshotTempFileResponse
|
|||
OpenedFile;
|
||||
};
|
||||
|
||||
[ManualDealloc]
|
||||
sync protocol PHeapSnapshotTempFileHelper
|
||||
{
|
||||
manager PContent;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
1
dom/cache/PCache.ipdl
vendored
1
dom/cache/PCache.ipdl
vendored
|
|
@ -15,6 +15,7 @@ namespace mozilla {
|
|||
namespace dom {
|
||||
namespace cache {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PCache
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
1
dom/cache/PCacheOp.ipdl
vendored
1
dom/cache/PCacheOp.ipdl
vendored
|
|
@ -19,6 +19,7 @@ namespace mozilla {
|
|||
namespace dom {
|
||||
namespace cache {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PCacheOp
|
||||
{
|
||||
manager PCache or PCacheStorage;
|
||||
|
|
|
|||
1
dom/cache/PCacheStorage.ipdl
vendored
1
dom/cache/PCacheStorage.ipdl
vendored
|
|
@ -16,6 +16,7 @@ namespace mozilla {
|
|||
namespace dom {
|
||||
namespace cache {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PCacheStorage
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
2
dom/cache/PCacheStreamControl.ipdl
vendored
2
dom/cache/PCacheStreamControl.ipdl
vendored
|
|
@ -14,7 +14,7 @@ namespace mozilla {
|
|||
namespace dom {
|
||||
namespace cache {
|
||||
|
||||
[RefCounted] protocol PCacheStreamControl
|
||||
protocol PCacheStreamControl
|
||||
{
|
||||
manager PBackground;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ include ClientIPCTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PClientHandleOp
|
||||
{
|
||||
manager PClientHandle;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ include ClientIPCTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
sync protocol PClientManager
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ include ClientIPCTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PClientManagerOp
|
||||
{
|
||||
manager PClientManager;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ include ClientIPCTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PClientNavigateOp
|
||||
{
|
||||
manager PClientManager;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ include ClientIPCTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
sync protocol PClientSource
|
||||
{
|
||||
manager PClientManager;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ include ClientIPCTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PClientSourceOp
|
||||
{
|
||||
manager PClientSource;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ union FileCreationResult
|
|||
FileCreationErrorResult;
|
||||
};
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PFileCreator
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ include IPCStream;
|
|||
|
||||
namespace mozilla {
|
||||
|
||||
[RefCounted] protocol PRemoteLazyInputStream
|
||||
protocol PRemoteLazyInputStream
|
||||
{
|
||||
manager PBackground or PContent or PSocketProcess;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ union IPCBlobOrError
|
|||
nsresult;
|
||||
};
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PTemporaryIPCBlob
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ union FileRequestParams
|
|||
FileRequestFlushParams;
|
||||
};
|
||||
|
||||
[ChildImpl="indexedDB::BackgroundFileHandleChild", ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl="indexedDB::BackgroundFileHandleChild", ParentImpl=virtual]
|
||||
protocol PBackgroundFileHandle
|
||||
{
|
||||
manager PBackgroundMutableFile;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ union FileRequestResponse
|
|||
FileRequestFlushResponse;
|
||||
};
|
||||
|
||||
[ChildImpl="indexedDB::BackgroundFileRequestChild", ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl="indexedDB::BackgroundFileRequestChild", ParentImpl=virtual]
|
||||
protocol PBackgroundFileRequest
|
||||
{
|
||||
manager PBackgroundFileHandle;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ union FileSystemResponseValue
|
|||
FileSystemErrorResponse;
|
||||
};
|
||||
|
||||
[RefCounted, ChildImpl="FileSystemTaskChildBase"]
|
||||
[ChildImpl="FileSystemTaskChildBase"]
|
||||
protocol PFileSystemRequest
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -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__();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ union CursorResponse
|
|||
IndexKeyCursorResponse[];
|
||||
};
|
||||
|
||||
[RefCounted, ChildImpl="indexedDB::BackgroundCursorChildBase", ParentImpl=virtual]
|
||||
[ChildImpl="indexedDB::BackgroundCursorChildBase", ParentImpl=virtual]
|
||||
protocol PBackgroundIDBCursor
|
||||
{
|
||||
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ union DatabaseRequestParams
|
|||
CreateFileParams;
|
||||
};
|
||||
|
||||
[ChildImpl="indexedDB::BackgroundDatabaseChild", ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl="indexedDB::BackgroundDatabaseChild", ParentImpl=virtual]
|
||||
sync protocol PBackgroundIDBDatabase
|
||||
{
|
||||
manager PBackgroundIDBFactory;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace mozilla {
|
|||
namespace dom {
|
||||
namespace indexedDB {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PBackgroundIDBDatabaseFile
|
||||
{
|
||||
manager PBackgroundIDBDatabase;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ union DatabaseRequestResponse
|
|||
CreateFileRequestResponse;
|
||||
};
|
||||
|
||||
[ChildImpl="indexedDB::BackgroundDatabaseRequestChild", ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl="indexedDB::BackgroundDatabaseRequestChild", ParentImpl=virtual]
|
||||
protocol PBackgroundIDBDatabaseRequest
|
||||
{
|
||||
manager PBackgroundIDBDatabase;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ union FactoryRequestParams
|
|||
DeleteDatabaseRequestParams;
|
||||
};
|
||||
|
||||
[RefCounted, ChildImpl="indexedDB::BackgroundFactoryChild", ParentImpl=virtual]
|
||||
[ChildImpl="indexedDB::BackgroundFactoryChild", ParentImpl=virtual]
|
||||
sync protocol PBackgroundIDBFactory
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ union FactoryRequestResponse
|
|||
DeleteDatabaseRequestResponse;
|
||||
};
|
||||
|
||||
[ChildImpl="indexedDB::BackgroundFactoryRequestChild", ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl="indexedDB::BackgroundFactoryRequestChild", ParentImpl=virtual]
|
||||
protocol PBackgroundIDBFactoryRequest
|
||||
{
|
||||
manager PBackgroundIDBFactory;
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ union PreprocessResponse
|
|||
ObjectStoreGetAllPreprocessResponse;
|
||||
};
|
||||
|
||||
[ChildImpl="indexedDB::BackgroundRequestChild", ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl="indexedDB::BackgroundRequestChild", ParentImpl=virtual]
|
||||
protocol PBackgroundIDBRequest
|
||||
{
|
||||
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ include protocol PBrowser;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PColorPicker
|
||||
{
|
||||
manager PBrowser;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ include "nsContentPermissionHelper.h";
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
|
||||
protocol PContentPermissionRequest
|
||||
{
|
||||
manager PContent;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ include protocol PContent;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PCycleCollectWithLogs {
|
||||
manager PContent;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ union MaybeInputData
|
|||
void_t;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual]
|
||||
protocol PFilePicker
|
||||
{
|
||||
manager PBrowser;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ struct SlowScriptData
|
|||
double duration;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PProcessHangMonitor
|
||||
{
|
||||
parent:
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ include PURLClassifierInfo;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PURLClassifier
|
||||
{
|
||||
manager PContent;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ struct URLClassifierLocalResult
|
|||
nsCString matchingList;
|
||||
};
|
||||
|
||||
[ChildImpl="URLClassifierLocalChild", ParentImpl="URLClassifierLocalParent"]
|
||||
[ManualDealloc, ChildImpl="URLClassifierLocalChild", ParentImpl="URLClassifierLocalParent"]
|
||||
protocol PURLClassifierLocal
|
||||
{
|
||||
manager PContent;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ union LSWriteAndNotifyInfo
|
|||
LSClearInfo;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
sync protocol PBackgroundLSSnapshot
|
||||
{
|
||||
manager PBackgroundLSDatabase;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ struct IPCLockRequest {
|
|||
bool steal;
|
||||
};
|
||||
|
||||
[RefCounted]
|
||||
protocol PLockManager {
|
||||
manager PBackground;
|
||||
manages PLockRequest;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ namespace mozilla {
|
|||
namespace dom {
|
||||
namespace locks {
|
||||
|
||||
[RefCounted]
|
||||
protocol PLockRequest {
|
||||
manager PLockManager;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ union RemoteDecoderInfoIPDL
|
|||
VideoDecoderInfoIPDL;
|
||||
};
|
||||
|
||||
[NeedsOtherPid]
|
||||
[ManualDealloc, NeedsOtherPid]
|
||||
sync protocol PRemoteDecoderManager
|
||||
{
|
||||
manages PRemoteDecoder;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ include protocol PContent;
|
|||
|
||||
namespace mozilla {
|
||||
|
||||
[ManualDealloc]
|
||||
async protocol PBenchmarkStorage
|
||||
{
|
||||
manager PContent;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ struct VideoFrameProperties
|
|||
int vStride;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
async protocol PCameras
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ namespace media {
|
|||
/*
|
||||
* The PMediaSystemResourceManager is a sub-protocol in PImageBridge
|
||||
*/
|
||||
[ManualDealloc]
|
||||
sync protocol PMediaSystemResourceManager
|
||||
{
|
||||
manager PImageBridge;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ using net::NrIceStunAddrArray from "mozilla/net/PStunAddrsParams.h";
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ManualDealloc]
|
||||
async protocol PMediaTransport {
|
||||
manager PBackground;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ struct RemoteVoice {
|
|||
bool queued;
|
||||
};
|
||||
|
||||
[ManualDealloc]
|
||||
sync protocol PSpeechSynthesis
|
||||
{
|
||||
manager PContent;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ namespace mozilla {
|
|||
namespace dom {
|
||||
|
||||
// This protocol is used for the MessageChannel/MessagePort API
|
||||
[ManualDealloc]
|
||||
protocol PMessagePort
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ include MIDITypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ManualDealloc]
|
||||
async protocol PMIDIManager
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ include MIDITypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ManualDealloc]
|
||||
async protocol PMIDIPort
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -227,6 +227,7 @@ union IPCMethodChangeDetails
|
|||
IPCBasicCardChangeDetails;
|
||||
};
|
||||
|
||||
[ManualDealloc]
|
||||
sync protocol PPaymentRequest
|
||||
{
|
||||
manager PBrowser;
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ union RequestParams
|
|||
ListOriginsParams;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PQuota
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ union RequestResponse
|
|||
ListOriginsResponse;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PQuotaRequest
|
||||
{
|
||||
manager PQuota;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ union UsageRequestResponse
|
|||
OriginUsageResponse;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PQuotaUsageRequest
|
||||
{
|
||||
manager PQuota;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ include protocol PBackground;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PEndpointForReport
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ include FetchTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PFetchEventOp {
|
||||
manager PRemoteWorkerController;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ include FetchTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[RefCounted] protocol PFetchEventOpProxy {
|
||||
protocol PFetchEventOpProxy {
|
||||
manager PRemoteWorker;
|
||||
|
||||
parent:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ include DOMTypes;
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[RefCounted, ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PServiceWorker
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
|
|||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
[ManualDealloc]
|
||||
protocol PServiceWorkerManager
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ union SDBRequestParams
|
|||
SDBRequestCloseParams;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PBackgroundSDBConnection
|
||||
{
|
||||
manager PBackground;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ union SDBRequestResponse
|
|||
SDBRequestCloseResponse;
|
||||
};
|
||||
|
||||
[ChildImpl=virtual, ParentImpl=virtual]
|
||||
[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
|
||||
protocol PBackgroundSDBRequest
|
||||
{
|
||||
manager PBackgroundSDBConnection;
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Reference in a new issue