summaryrefslogtreecommitdiffstats
path: root/dom/ipc/PMemoryReportRequest.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/ipc/PMemoryReportRequest.ipdl')
-rw-r--r--dom/ipc/PMemoryReportRequest.ipdl29
1 files changed, 29 insertions, 0 deletions
diff --git a/dom/ipc/PMemoryReportRequest.ipdl b/dom/ipc/PMemoryReportRequest.ipdl
new file mode 100644
index 000000000..092d44250
--- /dev/null
+++ b/dom/ipc/PMemoryReportRequest.ipdl
@@ -0,0 +1,29 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* 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 PContent;
+
+namespace mozilla {
+namespace dom {
+
+struct MemoryReport {
+ nsCString process;
+ nsCString path;
+ int32_t kind;
+ int32_t units;
+ int64_t amount;
+ nsCString desc;
+};
+
+protocol PMemoryReportRequest {
+ manager PContent;
+
+parent:
+ async Report(MemoryReport aReport);
+ async __delete__();
+};
+
+}
+}