1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include
"nsISupports.idl"
9 [scriptable
, function
, uuid(4d8def75
-014e-404d
-bf30
-e2f0Bfcf4d89
)]
10 interface nsIQuotaFullOriginMetadataResult
: nsISupports
12 readonly attribute ACString suffix
;
14 readonly attribute ACString group
;
16 readonly attribute ACString origin
;
18 readonly attribute ACString storageOrigin
;
20 readonly attribute ACString persistenceType
;
22 readonly attribute
boolean persisted
;
24 readonly attribute
long long lastAccessTime
;
27 [scriptable
, function
, uuid(d8c9328b
-9aa8
-4f5d
-90e6
-482de4a6d5b8
)]
28 interface nsIQuotaUsageResult
: nsISupports
30 readonly attribute ACString origin
;
32 readonly attribute
boolean persisted
;
34 readonly attribute
unsigned long long usage
;
36 readonly attribute
unsigned long long lastAccessed
;
39 [scriptable
, function
, uuid(96df03d2
-116a
-493f
-bb0b
-118c212a6b32
)]
40 interface nsIQuotaOriginUsageResult
: nsISupports
42 readonly attribute
unsigned long long usage
;
44 readonly attribute
unsigned long long fileUsage
;
47 [scriptable
, function
, uuid(9827fc69
-7ea9
-48ef
-b30d
-2e2ae0451ec0
)]
48 interface nsIQuotaEstimateResult
: nsISupports
50 readonly attribute
unsigned long long usage
;
52 readonly attribute
unsigned long long limit
;