summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/ok/PEndpointDecl.ipdl
blob: 25f58f3f635436d523ba9b46321d98be3ed1b5a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Basic test that Endpoint types are declared for protocols, within
// that protocol.

struct Whatever {
  Endpoint<PEndpointDeclParent> par;
  Endpoint<PEndpointDeclChild> chi;
};

namespace mozilla {

protocol PEndpointDecl {
  child:
    async Message(Endpoint<PEndpointDeclParent> aEndpointParent,
                  Endpoint<PEndpointDeclChild> aEndpointChild);
};

}