OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module IPC.mojom; | 5 module IPC.mojom; |
6 | 6 |
7 interface SimpleTestDriver { | 7 interface SimpleTestDriver { |
8 ExpectValue(int32 value); | 8 ExpectValue(int32 value); |
9 | 9 |
10 [Sync] | 10 [Sync] |
11 GetExpectedValue() => (int32 value); | 11 GetExpectedValue() => (int32 value); |
12 | 12 |
13 [Sync] | 13 [Sync] |
14 RequestValue() => (int32 value); | 14 RequestValue() => (int32 value); |
15 | 15 |
16 RequestQuit() => (); | 16 RequestQuit() => (); |
17 }; | 17 }; |
18 | 18 |
19 interface SimpleTestClient { | 19 interface SimpleTestClient { |
20 [Sync] | 20 [Sync] |
21 RequestValue() => (int32 value); | 21 RequestValue() => (int32 value); |
22 }; | 22 }; |
| 23 |
| 24 interface PingReceiver { |
| 25 Ping() => (); |
| 26 }; |
| 27 |
| 28 interface IndirectTestDriver { |
| 29 GetPingReceiver(associated PingReceiver& request); |
| 30 }; |
OLD | NEW |