naiveproxy/mojo/public/interfaces/bindings/tests/ping_service.mojom
2018-12-09 21:59:24 -05:00

22 lines
601 B
Plaintext

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[JavaPackage="org.chromium.mojo.bindings.test.mojom.ping"]
module mojo.test;
interface PingService {
[Sync]
Ping() => ();
};
interface EchoService {
Echo(string test_data) => (string echo_data);
};
interface HandleTrampoline {
BounceOne(handle<message_pipe> one) => (handle<message_pipe> one);
BounceTwo(handle<message_pipe> one, handle<message_pipe> two)
=> (handle<message_pipe> one, handle<message_pipe> two);
};