tor-browser

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

PAltService.ipdl (1211B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set sw=2 ts=8 et tw=80 : */
      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 PSocketProcess;
      8 include NeckoChannelParams;
      9 
     10 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
     11 
     12 namespace mozilla {
     13 namespace net {
     14 
     15 protocol PAltService
     16 {
     17   manager PSocketProcess;
     18 
     19 parent:
     20   async ClearHostMapping(nsCString host, int32_t port,
     21                          OriginAttributes originAttributes);
     22 
     23   async ProcessHeader(nsCString buf,
     24                       nsCString originScheme,
     25                       nsCString originHost,
     26                       int32_t originPort,
     27                       nsCString username,
     28                       bool privateBrowsing,
     29                       ProxyInfoCloneArgs[] proxyInfo,
     30                       uint32_t caps,
     31                       OriginAttributes originAttributes,
     32                       HttpConnectionInfoCloneArgs connInfoArgs);
     33 
     34 child:
     35   async __delete__();
     36 };
     37 
     38 } // namespace net
     39 } // namespace mozilla