tor-browser

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

PTRRService.ipdl (1078B)


      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 /* 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 
      9 include NeckoChannelParams;
     10 include PSMIPCTypes;
     11 
     12 namespace mozilla {
     13 namespace net {
     14 
     15 async protocol PTRRService
     16 {
     17   manager PSocketProcess;
     18 
     19 parent:
     20   async NotifyNetworkConnectivityServiceObservers(nsCString aTopic);
     21   async InitTRRConnectionInfo(bool aForceReinit);
     22   async SetConfirmationState(uint32_t aNewState);
     23 
     24 child:
     25   async __delete__();
     26   async UpdatePlatformDNSInformation(nsCString[] aSuffixList);
     27   async UpdateParentalControlEnabled(bool aEnabled);
     28   async ClearDNSCache(bool aTrrToo);
     29   async SetDetectedTrrURI(nsCString aURI);
     30   async SetDefaultTRRConnectionInfo(HttpConnectionInfoCloneArgs? aConnInfoArgs);
     31   async UpdateEtcHosts(nsCString[] aHosts);
     32 };
     33 
     34 } //namespace net
     35 } //namespace mozilla