Bug 1874684 - Part 6: Limit day length calculations to safe integers. r=mgaudet
[gecko.git] / dom / storage / PBackgroundSessionStorageManager.ipdl
blob50041c78f78b6c2c418daa9b9f4a4d3ab55d3d80
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";
14 namespace mozilla {
15 namespace dom {
17 [ChildImpl=virtual, ParentImpl=virtual]
18 sync protocol PBackgroundSessionStorageManager
20  manager PBackground;
21  manages PBackgroundSessionStorageCache;
23  parent:
24   async PBackgroundSessionStorageCache(PrincipalInfo aPrincipalInfo, nsCString aOriginKey);
26   async ClearStorages(OriginAttributesPattern aPattern, nsCString aOriginScope);
28   async DeleteMe();
30  child:
31   async __delete__();
33   async ClearStoragesForOrigin(nsCString aOriginAttrs, nsCString aOriginKey);
36 } // namespace dom
37 } // namespace mozilla