diff options
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestAsyncReturns.ipdl')
-rw-r--r-- | ipc/ipdl/test/cxx/PTestAsyncReturns.ipdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestAsyncReturns.ipdl b/ipc/ipdl/test/cxx/PTestAsyncReturns.ipdl new file mode 100644 index 0000000000..42ef17d1e8 --- /dev/null +++ b/ipc/ipdl/test/cxx/PTestAsyncReturns.ipdl @@ -0,0 +1,20 @@ +include "mozilla/_ipdltest/TestAsyncReturns.h"; + +namespace mozilla { +namespace _ipdltest { + + +[ManualDealloc, ChildImpl="TestAsyncReturnsChild", ParentImpl="TestAsyncReturnsParent"] +protocol PTestAsyncReturns { + +child: + async Ping() returns (bool one); + async NoReturn() returns (bool unused); + +parent: + async Pong() returns (uint32_t param1, uint32_t param2); +}; + + +} // namespace mozilla +} // namespace _ipdltest |