tor-browser

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

PInProcess.ipdl (957B)


      1 /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
      2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4  * License, v. 2.0. If a copy of the MPL was not distributed with this
      5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 include protocol PExtensions;
      8 include protocol PSessionStore;
      9 include protocol PWindowGlobal;
     10 
     11 include DOMTypes;
     12 
     13 namespace mozilla {
     14 namespace dom {
     15 
     16 /**
     17  * PInProcess is intended for use as an alternative actor manager to PContent
     18  * for async actors which want to be used uniformly in both Content->Chrome and
     19  * Chrome->Chrome circumstances.
     20  *
     21  * `mozilla::dom::InProcess{Parent, Child}::Singleton()` should be used to get
     22  * an instance of this actor.
     23  */
     24 [ChildProc=Parent]
     25 async protocol PInProcess
     26 {
     27   manages PExtensions;
     28   manages PSessionStore;
     29   manages PWindowGlobal;
     30 };
     31 
     32 } // namespace dom
     33 } // namespace mozilla