blob: f5af2396e62189c282d7bd26a5d12bdce4d959f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
include "mozilla/_ipdltest/TestDemon.h";
namespace mozilla {
namespace _ipdltest {
[ManualDealloc, NestedUpTo=inside_cpow, ChildImpl="TestDemonChild", ParentImpl="TestDemonParent"]
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
|