tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PRemoteWorkerService.ipdl (850B)


      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 protocol PRemoteWorker;
      6 include protocol PRemoteWorkerNonLifeCycleOpController;
      7 
      8 include ProtocolTypes;
      9 include RemoteWorkerTypes;
     10 
     11 namespace mozilla {
     12 namespace dom {
     13 
     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
     19 {
     20   manages PRemoteWorker;
     21 
     22 child:
     23   async PRemoteWorker(RemoteWorkerData data,
     24       Endpoint<PRemoteWorkerNonLifeCycleOpControllerChild> childEp);
     25 };
     26 
     27 } // namespace dom
     28 } // namespace mozilla