author Kris Maglione <>
Thu, 14 Feb 2019 17:54:00 -0800
changeset 517406 7436c0f5b8b1583d20d5ea2d1d9d3b2c665bdf33
parent 481764 34d98c2d9fc3d48a1939c623571bef2f95abff79
child 537513 9b4358c2ea5fb38b7d8208be96efcdd1fc7e77dd
permissions -rw-r--r--
Fix botched backout (bug 1524687). r=bustage

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at */

include protocol PBackground;

include PBackgroundSharedTypes;

namespace mozilla {
namespace dom {

async protocol PBackgroundLocalStorageCache
  manager PBackground;

  async DeleteMe();

  async Notify(nsString documentURI,
               nsString key,
               nsString oldValue,
               nsString newValue);

  // The principalInfo and privateBrowsingId could instead be retained by the
  // LocalStorageCacheChild/LocalStorageCache instead of being re-transmitted.
  // However, these changes are a temporary optimization intended for uplift,
  // and this constant factor overhead is very small compared to the upside of
  // filtering.
  async Observe(PrincipalInfo principalInfo,
                uint32_t privateBrowsingId,
                nsString documentURI,
                nsString key,
                nsString oldValue,
                nsString newValue);

  async __delete__();

} // namespace dom
} // namespace mozilla