Bug 1755316 - Add audio tests with simultaneous processes r=alwu
[gecko.git] / dom / storage / PBackgroundLocalStorageCache.ipdl
blob1a98224016924b6167bed1eef6fce6380cdc46b0
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/. */
5 include protocol PBackground;
7 include PBackgroundSharedTypes;
9 namespace mozilla {
10 namespace dom {
12 [ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
13 async protocol PBackgroundLocalStorageCache
15   manager PBackground;
17 parent:
18   async DeleteMe();
20   async Notify(nsString documentURI,
21                nsString key,
22                nsString oldValue,
23                nsString newValue);
25 child:
26   // The principalInfo and privateBrowsingId could instead be retained by the
27   // LocalStorageCacheChild/LocalStorageCache instead of being re-transmitted.
28   // However, these changes are a temporary optimization intended for uplift,
29   // and this constant factor overhead is very small compared to the upside of
30   // filtering.
31   async Observe(PrincipalInfo principalInfo,
32                 PrincipalInfo cachePrincipalInfo,
33                 uint32_t privateBrowsingId,
34                 nsString documentURI,
35                 nsString key,
36                 nsString oldValue,
37                 nsString newValue);
39   async __delete__();
42 } // namespace dom
43 } // namespace mozilla