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;
6 include protocol PBackgroundSessionStorageCache;
7 include PBackgroundSharedTypes;
9 include "mozilla/dom/quota/SerializationHelpers.h";
11 using mozilla::OriginAttributesPattern
12 from "mozilla/OriginAttributes.h";
17 [ChildImpl=virtual, ParentImpl=virtual]
18 sync protocol PBackgroundSessionStorageManager
21 manages PBackgroundSessionStorageCache;
24 async PBackgroundSessionStorageCache(PrincipalInfo aPrincipalInfo, nsCString aOriginKey);
26 async ClearStorages(OriginAttributesPattern aPattern, nsCString aOriginScope);
33 async ClearStoragesForOrigin(nsCString aOriginAttrs, nsCString aOriginKey);
37 } // namespace mozilla