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;
12 [ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
13 async protocol PBackgroundLocalStorageCache
20 async Notify(nsString documentURI,
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
31 async Observe(PrincipalInfo principalInfo,
32 PrincipalInfo cachePrincipalInfo,
33 uint32_t privateBrowsingId,
43 } // namespace mozilla