1 // Copyright 2016 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 interface SimpleTestDriver {
8 ExpectValue(int32 value);
11 GetExpectedValue() => (int32 value);
14 RequestValue() => (int32 value);
19 interface SimpleTestClient {
21 RequestValue() => (int32 value);
24 interface PingReceiver {
30 interface TestStructPasser {
34 interface IndirectTestDriver {
35 GetPingReceiver(pending_associated_receiver<PingReceiver> receiver);
39 Ping(string value) => (string value);
41 SyncPing(string value) => (string response);
45 interface AssociatedInterfaceVendor {
46 GetTestInterface(pending_associated_receiver<SimpleTestDriver> receiver);
49 interface InterfacePassingTestDriver {
51 GetPingReceiver(array<pending_receiver<PingReceiver>> receiver) => ();
52 GetAssociatedPingReceiver(
53 array<pending_associated_receiver<PingReceiver>> receiver) => ();