PCache.ipdl (1005B)
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 PCacheOp; 8 include protocol PCacheStreamControl; 9 10 include CacheTypes; 11 12 namespace mozilla { 13 namespace dom { 14 namespace cache { 15 16 protocol PCache 17 { 18 // PBoundStorageKey is a new top-level actor and is exclusively used 19 // for loading cached service worker scripts Off-main thread. However, 20 // it would be ideal to use it for all cache/storage related messages, 21 // look at https://bugzilla.mozilla.org/show_bug.cgi?id=1853726 and 22 // https://bugzilla.mozilla.org/show_bug.cgi?id=1853706 23 24 manager PBackground or PBoundStorageKey; 25 manages PCacheOp; 26 27 parent: 28 async PCacheOp(CacheOpArgs aOpArgs); 29 async Teardown(); 30 31 child: 32 async __delete__(); 33 }; 34 35 } // namespace cache 36 } // namespace dom 37 } // namespace mozilla