summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestDemon.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestDemon.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestDemon.ipdl21
1 files changed, 21 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestDemon.ipdl b/ipc/ipdl/test/cxx/PTestDemon.ipdl
new file mode 100644
index 000000000..25fa5d0f9
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestDemon.ipdl
@@ -0,0 +1,21 @@
+namespace mozilla {
+namespace _ipdltest {
+
+nested(upto inside_cpow) sync protocol PTestDemon
+{
+child:
+ async Start();
+
+both:
+ async AsyncMessage(int n);
+ nested(inside_sync) sync HiPrioSyncMessage();
+
+parent:
+ sync SyncMessage(int n);
+
+ nested(inside_cpow) async UrgentAsyncMessage(int n);
+ nested(inside_cpow) sync UrgentSyncMessage(int n);
+};
+
+} // namespace _ipdltest
+} // namespace mozilla