summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/ok/PManagedEndpointDecl.ipdl
blob: 13eb10fcc49cee1bf7d0ef5ab17c0df5fdf06d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include protocol PManagedEndpointManager;

// Basic test that ManagedEndpoint types are declared for protocols, within
// that protocol.

struct ManagedWhatever {
  ManagedEndpoint<PManagedEndpointDeclParent> par;
  ManagedEndpoint<PManagedEndpointDeclChild> chi;
};

namespace mozilla {

protocol PManagedEndpointDecl {
  manager PManagedEndpointManager;

child:
  async Message(ManagedEndpoint<PManagedEndpointDeclParent> aEndpointParent,
                ManagedEndpoint<PManagedEndpointDeclChild> aEndpointChild);

  async __delete__();
};

}