summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestUrgency.ipdl
blob: 7653d1210276d25e2a29c09b5d0ea7261a1c0c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include "mozilla/_ipdltest/TestUrgency.h";

namespace mozilla {
namespace _ipdltest {

[ManualDealloc, NestedUpTo=inside_cpow, ChildImpl="TestUrgencyChild", ParentImpl="TestUrgencyParent"]
sync protocol PTestUrgency
{
parent:
    [Nested=inside_sync] sync Test1() returns (uint32_t result);
    async Test2();
    sync Test3() returns (uint32_t result);
    sync FinalTest_Begin();

child:
    async Start();
    [Nested=inside_sync] sync Reply1() returns (uint32_t result);
    [Nested=inside_sync] sync Reply2() returns (uint32_t result);
};

} // namespace _ipdltest
} // namespace mozilla