summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/gtest/PTestShmem.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/gtest/PTestShmem.ipdl')
-rw-r--r--ipc/ipdl/test/gtest/PTestShmem.ipdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/ipc/ipdl/test/gtest/PTestShmem.ipdl b/ipc/ipdl/test/gtest/PTestShmem.ipdl
new file mode 100644
index 0000000000..33eeabffdf
--- /dev/null
+++ b/ipc/ipdl/test/gtest/PTestShmem.ipdl
@@ -0,0 +1,15 @@
+namespace mozilla {
+namespace _ipdltest {
+
+[ChildProc=any, ChildImpl=virtual, ParentImpl=virtual]
+protocol PTestShmem {
+child:
+ async Give(Shmem mem, Shmem unsafe, uint32_t expectedSize);
+
+parent:
+ async Take(Shmem mem, Shmem unsafe, uint32_t expectedSize);
+ async __delete__();
+};
+
+}
+}