summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestEndpointBridgeMainSub.ipdl
blob: e899fca7aa07f02e86c74128b7f5efc45b096991 (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
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */

include protocol PTestEndpointBridgeMain;
include protocol PTestEndpointBridgeSub;

include "mozilla/_ipdltest/TestEndpointBridgeMain.h";

namespace mozilla {
namespace _ipdltest {

// (Bridge protocols can have different semantics than the endpoints
// they bridge)
[ManualDealloc, ChildImpl="TestEndpointBridgeMainSubChild", ParentImpl="TestEndpointBridgeMainSubParent"]
intr protocol PTestEndpointBridgeMainSub {
child:
  async Hi();
  [LegacyIntr] intr HiRpc();

parent:
  async Hello();
  sync HelloSync();
  [LegacyIntr] intr HelloRpc();
};


} // namespace mozilla
} // namespace _ipdltest