// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. module mojo.test; import "mojo/public/interfaces/bindings/tests/ping_service.test-mojom"; interface FooInterface {}; struct StructContainsAssociated { pending_associated_remote? foo_remote; pending_associated_receiver foo_receiver; array> foo_remotes; array> foo_receivers; }; union UnionContainsAssociated { pending_associated_remote? foo_remote; pending_associated_receiver foo_receiver; array> foo_remotes; array> foo_receivers; }; interface InterfacePassesAssociated { PassFoo(pending_associated_remote foo_remote, pending_associated_receiver foo_receiver) => (pending_associated_remote foo_remote, pending_associated_receiver foo_receiver); PassStruct(StructContainsAssociated foo_struct) => (StructContainsAssociated foo_struct); PassUnion(UnionContainsAssociated foo_union) => (UnionContainsAssociated foo_union); }; interface IntegerSender { Echo(int32 value) => (int32 value); Send(int32 value); }; interface StringSender { Echo(string value) => (string value); Send(string value); }; interface IntegerSenderConnection { GetSender(pending_associated_receiver receiver); AsyncGetSender() => (pending_associated_remote sender); }; interface IntegerSenderConnectionAtBothEnds { GetSender(pending_associated_receiver receiver); SetSender(pending_associated_remote sender) => (int32 value); }; interface SenderConnection { GetIntegerSender(pending_associated_receiver receiver); GetStringSender(pending_associated_receiver receiver); }; interface AssociatedPingProvider { GetPing(pending_associated_receiver receiver); }; interface AssociatedPingProviderProvider { GetPingProvider(pending_associated_receiver receiver); };