summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestActorPunning.ipdl
blob: 0aec430d9f8e143182b52459095df2f029bdd987 (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
25
26
27
28
include protocol PTestActorPunningPunned;
include protocol PTestActorPunningSub;
include "mozilla/_ipdltest/IPDLUnitTestUtils.h";
include "mozilla/_ipdltest/TestActorPunning.h";

using struct mozilla::_ipdltest::Bad from "mozilla/_ipdltest/IPDLUnitTestUtils.h";

namespace mozilla {
namespace _ipdltest {

[ManualDealloc, ChildImpl="TestActorPunningChild", ParentImpl="TestActorPunningParent"]
protocol PTestActorPunning {
    manages PTestActorPunningPunned;
    manages PTestActorPunningSub;

child:
    async Start();

parent:
    async PTestActorPunningPunned();
    async PTestActorPunningSub();
    async Pun(PTestActorPunningSub a, Bad bad);
    async __delete__();
};

} // namespace mozilla
} // namespace _ipdltest