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 async protocol PBackgroundLocalStorageCache
19 async Notify(nsString documentURI,
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
30 async Observe(PrincipalInfo principalInfo,
31 PrincipalInfo cachePrincipalInfo,
32 uint32_t privateBrowsingId,
42 } // namespace mozilla