summaryrefslogtreecommitdiffstats
path: root/dom/quota/PQuotaRequest.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/quota/PQuotaRequest.ipdl')
-rw-r--r--dom/quota/PQuotaRequest.ipdl46
1 files changed, 46 insertions, 0 deletions
diff --git a/dom/quota/PQuotaRequest.ipdl b/dom/quota/PQuotaRequest.ipdl
new file mode 100644
index 000000000..212846929
--- /dev/null
+++ b/dom/quota/PQuotaRequest.ipdl
@@ -0,0 +1,46 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+include protocol PQuota;
+
+namespace mozilla {
+namespace dom {
+namespace quota {
+
+struct ClearOriginResponse
+{
+};
+
+struct ClearOriginsResponse
+{
+};
+
+struct ClearAllResponse
+{
+};
+
+struct ResetAllResponse
+{
+};
+
+union RequestResponse
+{
+ nsresult;
+ ClearOriginResponse;
+ ClearOriginsResponse;
+ ClearAllResponse;
+ ResetAllResponse;
+};
+
+protocol PQuotaRequest
+{
+ manager PQuota;
+
+child:
+ async __delete__(RequestResponse response);
+};
+
+} // namespace quota
+} // namespace dom
+} // namespace mozilla