Bug 1707290 [wpt PR 28671] - Auto-expand details elements for find-in-page, a=testonly
[gecko.git] / dom / storage / PBackgroundLocalStorageCache.ipdl
blobc949a25dc37d0dcba36507b1b9a52fa1c4d74624
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 async protocol PBackgroundLocalStorageCache
14   manager PBackground;
16 parent:
17   async DeleteMe();
19   async Notify(nsString documentURI,
20                nsString key,
21                nsString oldValue,
22                nsString newValue);
24 child:
25   // The principalInfo and privateBrowsingId could instead be retained by the
26   // LocalStorageCacheChild/LocalStorageCache instead of being re-transmitted.
27   // However, these changes are a temporary optimization intended for uplift,
28   // and this constant factor overhead is very small compared to the upside of
29   // filtering.
30   async Observe(PrincipalInfo principalInfo,
31                 PrincipalInfo cachePrincipalInfo,
32                 uint32_t privateBrowsingId,
33                 nsString documentURI,
34                 nsString key,
35                 nsString oldValue,
36                 nsString newValue);
38   async __delete__();
41 } // namespace dom
42 } // namespace mozilla