blob: 8af397a3a42a394b9b68b40dc090b661059bbeb6 [file] [log] [blame]
rockota6edf832016-07-14 09:34:11 +09001// 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
5module IPC.mojom;
6
7interface SimpleTestDriver {
rockot70020b32016-08-03 05:57:34 +09008 ExpectValue(int32 value);
9
10 [Sync]
11 GetExpectedValue() => (int32 value);
12
13 [Sync]
14 RequestValue() => (int32 value);
15
rockota6edf832016-07-14 09:34:11 +090016 RequestQuit() => ();
17};
rockot70020b32016-08-03 05:57:34 +090018
19interface SimpleTestClient {
20 [Sync]
21 RequestValue() => (int32 value);
22};
rockot685505b2016-09-07 03:35:57 +090023
24interface PingReceiver {
25 Ping() => ();
26};
27
28interface IndirectTestDriver {
29 GetPingReceiver(associated PingReceiver& request);
30};
jam423ebb02017-01-07 04:55:57 +090031
32interface Reflector {
33 Ping(string value) => (string value);
34 Quit();
35};
sammc92d4ac62017-02-04 10:33:38 +090036
37interface AssociatedInterfaceVendor {
38 GetTestInterface(associated SimpleTestDriver& interface_reqest);
39};