summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestEndpointBridgeMainSub.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestEndpointBridgeMainSub.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestEndpointBridgeMainSub.ipdl25
1 files changed, 25 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestEndpointBridgeMainSub.ipdl b/ipc/ipdl/test/cxx/PTestEndpointBridgeMainSub.ipdl
new file mode 100644
index 000000000..7364057ac
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestEndpointBridgeMainSub.ipdl
@@ -0,0 +1,25 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+
+include protocol PTestEndpointBridgeMain;
+include protocol PTestEndpointBridgeSub;
+
+namespace mozilla {
+namespace _ipdltest {
+
+// (Bridge protocols can have different semantics than the endpoints
+// they bridge)
+intr protocol PTestEndpointBridgeMainSub {
+child:
+ async Hi();
+ intr HiRpc();
+
+parent:
+ async Hello();
+ sync HelloSync();
+ intr HelloRpc();
+};
+
+
+} // namespace mozilla
+} // namespace _ipdltest