tor-browser

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

ServiceWorkerActors.h (1212B)


      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 
      7 #ifndef mozilla_dom_serviceworkeractors_h__
      8 #define mozilla_dom_serviceworkeractors_h__
      9 
     10 namespace mozilla::dom {
     11 
     12 // PServiceWorker
     13 
     14 class IPCServiceWorkerDescriptor;
     15 class PServiceWorkerParent;
     16 
     17 void InitServiceWorkerParent(PServiceWorkerParent* aActor,
     18                             const IPCServiceWorkerDescriptor& aDescriptor);
     19 
     20 // PServiceWorkerContainer
     21 
     22 class PServiceWorkerContainerParent;
     23 
     24 void InitServiceWorkerContainerParent(PServiceWorkerContainerParent* aActor);
     25 
     26 // PServiceWorkerRegistration
     27 
     28 class IPCClientInfo;
     29 class IPCServiceWorkerRegistrationDescriptor;
     30 class PServiceWorkerRegistrationParent;
     31 
     32 void InitServiceWorkerRegistrationParent(
     33    PServiceWorkerRegistrationParent* aActor,
     34    const IPCServiceWorkerRegistrationDescriptor& aDescriptor,
     35    const IPCClientInfo& aForClient);
     36 
     37 }  // namespace mozilla::dom
     38 
     39 #endif  // mozilla_dom_serviceworkeractors_h__