summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/gtest/PTestEndpointOpensOpened.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/gtest/PTestEndpointOpensOpened.ipdl')
-rw-r--r--ipc/ipdl/test/gtest/PTestEndpointOpensOpened.ipdl22
1 files changed, 22 insertions, 0 deletions
diff --git a/ipc/ipdl/test/gtest/PTestEndpointOpensOpened.ipdl b/ipc/ipdl/test/gtest/PTestEndpointOpensOpened.ipdl
new file mode 100644
index 0000000000..1baa662235
--- /dev/null
+++ b/ipc/ipdl/test/gtest/PTestEndpointOpensOpened.ipdl
@@ -0,0 +1,22 @@
+/* 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/. */
+
+namespace mozilla {
+namespace _ipdltest {
+
+// (Opens protocols can have different semantics than the endpoints
+// that opened them)
+[ChildProc=any, ChildImpl=virtual, ParentImpl=virtual]
+sync protocol PTestEndpointOpensOpened {
+child:
+ async Hi();
+
+parent:
+ async Hello();
+ sync HelloSync();
+ async __delete__();
+};
+
+} // namespace _ipdltest
+} // namespace mozilla