Bug 1688354 [wpt PR 27298] - Treat 'rem' as an absolute unit for font size, a=testonly
[gecko.git] / dom / quota / PQuotaRequest.ipdl
blobada48f84a11096727edb28885ecf2201b40ef008
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 StorageNameResponse
13   nsString name;
16 struct StorageInitializedResponse
18   bool initialized;
21 struct TemporaryStorageInitializedResponse
23   bool initialized;
26 struct InitResponse
30 struct InitTemporaryStorageResponse
34 struct InitializePersistentOriginResponse
36   bool created;
39 struct InitializeTemporaryOriginResponse
41   bool created;
44 struct ClearOriginResponse
48 struct ResetOriginResponse
52 struct ClearDataResponse
56 struct ClearAllResponse
60 struct ResetAllResponse
64 struct PersistedResponse
66   bool persisted;
69 struct PersistResponse
73 struct EstimateResponse
75   uint64_t usage;
76   uint64_t limit;
79 struct ListOriginsResponse
81   nsCString[] origins;
84 union RequestResponse
86   nsresult;
87   StorageNameResponse;
88   StorageInitializedResponse;
89   TemporaryStorageInitializedResponse;
90   InitResponse;
91   InitTemporaryStorageResponse;
92   InitializePersistentOriginResponse;
93   InitializeTemporaryOriginResponse;
94   ClearOriginResponse;
95   ResetOriginResponse;
96   ClearDataResponse;
97   ClearAllResponse;
98   ResetAllResponse;
99   PersistedResponse;
100   PersistResponse;
101   EstimateResponse;
102   ListOriginsResponse;
105 protocol PQuotaRequest
107   manager PQuota;
109 child:
110   async __delete__(RequestResponse response);
113 } // namespace quota
114 } // namespace dom
115 } // namespace mozilla