rockot | a6edf83 | 2016-07-14 09:34:11 +0900 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | module IPC.mojom; |
| 6 | |
| 7 | interface SimpleTestDriver { |
rockot | 70020b3 | 2016-08-03 05:57:34 +0900 | [diff] [blame] | 8 | ExpectValue(int32 value); |
| 9 | |
| 10 | [Sync] |
| 11 | GetExpectedValue() => (int32 value); |
| 12 | |
| 13 | [Sync] |
| 14 | RequestValue() => (int32 value); |
| 15 | |
rockot | a6edf83 | 2016-07-14 09:34:11 +0900 | [diff] [blame] | 16 | RequestQuit() => (); |
| 17 | }; |
rockot | 70020b3 | 2016-08-03 05:57:34 +0900 | [diff] [blame] | 18 | |
| 19 | interface SimpleTestClient { |
| 20 | [Sync] |
| 21 | RequestValue() => (int32 value); |
| 22 | }; |
rockot | 685505b | 2016-09-07 03:35:57 +0900 | [diff] [blame] | 23 | |
| 24 | interface PingReceiver { |
| 25 | Ping() => (); |
| 26 | }; |
| 27 | |
| 28 | interface IndirectTestDriver { |
| 29 | GetPingReceiver(associated PingReceiver& request); |
| 30 | }; |
jam | 423ebb0 | 2017-01-07 04:55:57 +0900 | [diff] [blame] | 31 | |
| 32 | interface Reflector { |
| 33 | Ping(string value) => (string value); |
| 34 | Quit(); |
| 35 | }; |
sammc | 92d4ac6 | 2017-02-04 10:33:38 +0900 | [diff] [blame] | 36 | |
| 37 | interface AssociatedInterfaceVendor { |
| 38 | GetTestInterface(associated SimpleTestDriver& interface_reqest); |
| 39 | }; |