Bug 1526591 - Remove devtools.inspector.shapesHighlighter.enabled pref. r=rcaliman
[gecko.git] / dom / quota / PQuotaUsageRequest.ipdl
blobf1751ba006fbafec345ce09f1d110e7237283528
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 PQuota;
7 namespace mozilla {
8 namespace dom {
9 namespace quota {
11 struct OriginUsage
13   nsCString origin;
14   bool persisted;
15   uint64_t usage;
16   uint64_t lastAccessed;
19 struct AllUsageResponse
21   OriginUsage[] originUsages;
24 struct OriginUsageResponse
26   uint64_t usage;
27   uint64_t fileUsage;
28   uint64_t limit;
31 union UsageRequestResponse
33   nsresult;
34   AllUsageResponse;
35   OriginUsageResponse;
38 protocol PQuotaUsageRequest
40   manager PQuota;
42 parent:
43   async Cancel();
45 child:
46   async __delete__(UsageRequestResponse response);
49 } // namespace quota
50 } // namespace dom
51 } // namespace mozilla