tor-browser

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

ClientNavigateOpParent.h (1095B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=8 sts=2 et sw=2 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 #ifndef _mozilla_dom_ClientNavigateOpParent_h
      7 #define _mozilla_dom_ClientNavigateOpParent_h
      8 
      9 #include "mozilla/dom/ClientOpPromise.h"
     10 #include "mozilla/dom/PClientNavigateOpParent.h"
     11 
     12 namespace mozilla::dom {
     13 
     14 class ClientNavigateOpParent final : public PClientNavigateOpParent {
     15  RefPtr<ClientOpPromise::Private> mPromise;
     16 
     17  // PClientNavigateOpParent interface
     18  void ActorDestroy(ActorDestroyReason aReason) override;
     19 
     20  mozilla::ipc::IPCResult Recv__delete__(
     21      const ClientOpResult& aResult) override;
     22 
     23 public:
     24  ClientNavigateOpParent(const ClientNavigateOpConstructorArgs& aArgs,
     25                         ClientOpPromise::Private* aPromise);
     26 
     27  ~ClientNavigateOpParent();
     28 };
     29 
     30 }  // namespace mozilla::dom
     31 
     32 #endif  // _mozilla_dom_ClientNavigateOpParent_h