Bug 1842509 - Remove media.webvtt.regions.enabled pref r=alwu,webidl,smaug,peterv
[gecko.git] / dom / quota / PQuotaRequest.ipdl
blob1b312d2a45a43e074046d1adc4ead6f4f0731d40
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 include "mozilla/dom/quota/SerializationHelpers.h";
9 using mozilla::dom::quota::FullOriginMetadata
10   from "mozilla/dom/quota/CommonMetadata.h";
12 namespace mozilla {
13 namespace dom {
14 namespace quota {
16 struct StorageNameResponse
18   nsString name;
21 struct StorageInitializedResponse
23   bool initialized;
26 struct TemporaryStorageInitializedResponse
28   bool initialized;
31 struct InitResponse
35 struct InitTemporaryStorageResponse
39 struct InitializePersistentOriginResponse
41   bool created;
44 struct InitializeTemporaryOriginResponse
46   bool created;
49 struct GetFullOriginMetadataResponse
51   FullOriginMetadata? maybeFullOriginMetadata;
54 struct ClearOriginResponse
58 struct ResetOriginResponse
62 struct ClearDataResponse
66 struct ClearPrivateBrowsingResponse
70 struct ClearAllResponse
74 struct ResetAllResponse
78 struct PersistedResponse
80   bool persisted;
83 struct PersistResponse
87 struct EstimateResponse
89   uint64_t usage;
90   uint64_t limit;
93 struct ListOriginsResponse
95   nsCString[] origins;
98 union RequestResponse
100   nsresult;
101   StorageNameResponse;
102   StorageInitializedResponse;
103   TemporaryStorageInitializedResponse;
104   InitResponse;
105   InitTemporaryStorageResponse;
106   InitializePersistentOriginResponse;
107   InitializeTemporaryOriginResponse;
108   GetFullOriginMetadataResponse;
109   ClearOriginResponse;
110   ResetOriginResponse;
111   ClearDataResponse;
112   ClearPrivateBrowsingResponse;
113   ClearAllResponse;
114   ResetAllResponse;
115   PersistedResponse;
116   PersistResponse;
117   EstimateResponse;
118   ListOriginsResponse;
121 [ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
122 protocol PQuotaRequest
124   manager PQuota;
126 child:
127   async __delete__(RequestResponse response);
130 } // namespace quota
131 } // namespace dom
132 } // namespace mozilla