tor-browser

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

ProxyAutoConfigParent.cpp (678B)


      1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #include "ProxyAutoConfigParent.h"
      7 
      8 #include "mozilla/ipc/Endpoint.h"
      9 
     10 namespace mozilla::net {
     11 
     12 ProxyAutoConfigParent::ProxyAutoConfigParent() = default;
     13 
     14 ProxyAutoConfigParent::~ProxyAutoConfigParent() = default;
     15 
     16 void ProxyAutoConfigParent::Init(Endpoint<PProxyAutoConfigParent>&& aEndpoint) {
     17  DebugOnly<bool> ok = aEndpoint.Bind(this);
     18  MOZ_ASSERT(ok);
     19 }
     20 
     21 }  // namespace mozilla::net