tor-browser

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

PHttpConnectionMgr.ipdl (1836B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
      3 
      4 /* This Source Code Form is subject to the terms of the Mozilla Public
      5  * License, v. 2.0. If a copy of the MPL was not distributed with this
      6  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      7 
      8 include protocol PAltSvcTransaction;
      9 include protocol PSocketProcess;
     10 include protocol PHttpTransaction;
     11 
     12 include NeckoChannelParams;
     13 
     14 include "mozilla/net/ClassOfService.h";
     15 include "mozilla/net/NeckoMessageUtils.h";
     16 
     17 using mozilla::net::ClassOfService from "mozilla/net/ClassOfService.h";
     18 
     19 namespace mozilla {
     20 namespace net {
     21 
     22 async protocol PHttpConnectionMgr
     23 {
     24   manager PSocketProcess;
     25 
     26 child:
     27   async __delete__();
     28 
     29   async DoShiftReloadConnectionCleanupWithConnInfo(HttpConnectionInfoCloneArgs aArgs);
     30   async UpdateCurrentBrowserId(uint64_t aId);
     31   async AddTransaction(PHttpTransaction aTrans, int32_t aPriority);
     32   async AddTransactionWithStickyConn(PHttpTransaction aTrans, int32_t aPriority,
     33                                      PHttpTransaction aTransWithStickyConn);
     34   async RescheduleTransaction(PHttpTransaction aTrans, int32_t aPriority);
     35   async UpdateClassOfServiceOnTransaction(PHttpTransaction aTrans,
     36                                           ClassOfService aClassOfService);
     37   async CancelTransaction(PHttpTransaction aTrans, nsresult aReason);
     38   async SpeculativeConnect(HttpConnectionInfoCloneArgs aConnInfo,
     39                            SpeculativeConnectionOverriderArgs? aOverriderArgs,
     40                            uint32_t aCaps, PAltSvcTransaction? aTrans,
     41                            bool aFetchHTTPSRR);
     42   async StartWebSocketConnection(PHttpTransaction aTransWithStickyConn,
     43                                  uint32_t aListenerId);
     44 };
     45 
     46 } // namespace net
     47 } // namespace mozilla