tor-browser

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

PTransportProvider.ipdl (878B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set sw=2 ts=8 et 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 file,
      5  * You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 include protocol PNecko;
      8 
      9 include "mozilla/net/IPCTransportProvider.h";
     10 
     11 namespace mozilla {
     12 namespace net {
     13 
     14 /*
     15  * The only thing this protocol manages is used for is passing a
     16  * PTransportProvider object from parent to child and then back to the parent
     17  * again. Hence there's no need for any messages on the protocol itself.
     18  */
     19 
     20 [ManualDealloc, ChildImpl="TransportProviderChild", ParentImpl="TransportProviderParent"]
     21 async protocol PTransportProvider
     22 {
     23   manager PNecko;
     24 
     25 parent:
     26   async __delete__();
     27 };
     28 
     29 } // namespace net
     30 } // namespace mozilla