tor-browser

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

PBackgroundDataBridge.ipdl (1060B)


      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
      3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 include HttpChannelParams;
      6 include NeckoChannelParams;
      7 
      8 using class mozilla::net::nsHttpHeaderArray from "nsHttpHeaderArray.h";
      9 
     10 namespace mozilla {
     11 namespace net {
     12 
     13 //-------------------------------------------------------------------
     14 [ParentProc=Socket, ChildProc=Content]
     15 async protocol PBackgroundDataBridge
     16 {
     17 child:
     18   async OnTransportAndData(uint64_t  offset,
     19                            uint32_t  count,
     20                            nsCString data,
     21                            TimeStamp onDataAvailableStart);
     22 
     23   async OnStopRequest(nsresult aStatus,
     24                       ResourceTimingStructArgs timing,
     25                       TimeStamp lastActiveTabOptimization,
     26                       nsHttpHeaderArray responseTrailers,
     27                       TimeStamp onStopRequestStart);
     28 
     29 both:
     30   async __delete__();
     31 };
     32 
     33 } // namespace net
     34 } // namespace mozilla