summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl34
1 files changed, 34 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl b/ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl
new file mode 100644
index 000000000..6322bb1a3
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl
@@ -0,0 +1,34 @@
+include protocol PTestMultiMgrsLeft;
+include protocol PTestMultiMgrsRight;
+
+namespace mozilla {
+namespace _ipdltest {
+
+protocol PTestMultiMgrs {
+ manages PTestMultiMgrsLeft;
+ manages PTestMultiMgrsRight;
+
+parent:
+ async OK();
+
+child:
+ async PTestMultiMgrsLeft();
+ async PTestMultiMgrsRight();
+ async Check();
+ async __delete__();
+
+state START:
+ send PTestMultiMgrsLeft goto CONSTRUCT_RIGHT;
+state CONSTRUCT_RIGHT:
+ send PTestMultiMgrsRight goto CHILD_CHECK;
+state CHILD_CHECK:
+ send Check goto CHILD_ACK;
+state CHILD_ACK:
+ recv OK goto DONE;
+
+state DONE:
+ send __delete__;
+};
+
+} // namespace _ipdltest
+} // namespace mozilla