Backed out changeset 9d8b4c0b99ed (bug 1945683) for causing btime failures. CLOSED...
[gecko.git] / dom / workers / remoteworkers / PRemoteWorkerService.ipdl
blob30cfb6aa1de8f8e516fc61303e77bdc70cc7f15e
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/. */
5 include protocol PRemoteWorker;
6 include protocol PRemoteWorkerNonLifeCycleOpController;
8 include ProtocolTypes;
9 include RemoteWorkerTypes;
11 namespace mozilla {
12 namespace dom {
14 // Simple protocol to register any active RemoteWorkerService running on any
15 // process.  Initialization/registration is delayed for preallocated processes
16 // until the process takes on its final remoteType.
17 [NeedsOtherPid, ChildProc=anydom]
18 protocol PRemoteWorkerService
20   manages PRemoteWorker;
22 child:
23   async PRemoteWorker(RemoteWorkerData data,
24       Endpoint<PRemoteWorkerNonLifeCycleOpControllerChild> childEp);
27 } // namespace dom
28 } // namespace mozilla