1// Copyright 2015 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[JavaPackage="org.chromium.mojo.bindings.test.mojom.ping"] 6module mojo.test; 7 8interface PingService { 9 [Sync] 10 Ping() => (); 11}; 12 13interface EchoService { 14 Echo(string test_data) => (string echo_data); 15}; 16 17interface HandleTrampoline { 18 BounceOne(handle<message_pipe> one) => (handle<message_pipe> one); 19 BounceTwo(handle<message_pipe> one, handle<message_pipe> two) 20 => (handle<message_pipe> one, handle<message_pipe> two); 21}; 22