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;
9 include RemoteWorkerTypes;
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;
23 async PRemoteWorker(RemoteWorkerData data,
24 Endpoint<PRemoteWorkerNonLifeCycleOpControllerChild> childEp);
28 } // namespace mozilla