diff options
Diffstat (limited to 'ipc/ipdl/test/gtest/PTestAsyncReturns.ipdl')
-rw-r--r-- | ipc/ipdl/test/gtest/PTestAsyncReturns.ipdl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ipc/ipdl/test/gtest/PTestAsyncReturns.ipdl b/ipc/ipdl/test/gtest/PTestAsyncReturns.ipdl new file mode 100644 index 0000000000..5cae489b4a --- /dev/null +++ b/ipc/ipdl/test/gtest/PTestAsyncReturns.ipdl @@ -0,0 +1,19 @@ +/* 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 { + +[ChildProc=any, ChildImpl=virtual, ParentImpl=virtual] +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 |