tor-browser

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

PCacheStorage.ipdl (1037B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 include protocol PBackground;
      6 include protocol PBoundStorageKey;
      7 include protocol PCache;
      8 include protocol PCacheOp;
      9 include protocol PCacheStreamControl;
     10 
     11 include CacheTypes;
     12 
     13 namespace mozilla {
     14 namespace dom {
     15 namespace cache {
     16 
     17 protocol PCacheStorage
     18 {
     19   // PBoundStorageKey is a new top-level actor and is exclusively used
     20   // for loading cached service worker scripts Off-main thread. However,
     21   // it would be ideal to use it for all cache/storage related messages,
     22   // look at https://bugzilla.mozilla.org/show_bug.cgi?id=1853726 and
     23   // https://bugzilla.mozilla.org/show_bug.cgi?id=1853706
     24 
     25   manager PBackground or PBoundStorageKey;
     26   manages PCacheOp;
     27 
     28 parent:
     29   async PCacheOp(CacheOpArgs aOpArgs);
     30   async Teardown();
     31 
     32 child:
     33   async __delete__();
     34 };
     35 
     36 } // namespace cache
     37 } // namespace dom
     38 } // namespace mozilla