PRemoteWorkerDebuggerManager.ipdl (1112B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 include RemoteWorkerTypes; 6 include protocol PRemoteWorkerDebugger; 7 8 namespace mozilla { 9 namespace dom{ 10 11 // PRemoteWorkerDebuggerManager is used to register a remote WorkerDebugger 12 // (PRemoteWorkerDebuggerParent) for a Worker. It is a IPC between the Parent 13 // process main thread and the Content process WorkerLauncher thread because 14 // when construting a Worker, there is no directly IPC can be reused to directly 15 // build up the IPC between the Parent process main thread and the Content 16 // process Worker thread. However, the remote WorkerDebugger unregistration is 17 // done by PRemoteWorkerDebugger itself, so PRemoteWorkerDebuggeManager has no 18 // IPC method for unregister. 19 20 [ChildProc=anydom] 21 protocol PRemoteWorkerDebuggerManager 22 { 23 parent: 24 async Register(RemoteWorkerDebuggerInfo aDebuggerInfo, 25 Endpoint<PRemoteWorkerDebuggerParent> aParentEp); 26 }; 27 28 } // namespace dom 29 } // namespace mozilla