naiveproxy/mojo/public/interfaces/bindings/tests/ping_service.mojom

21 lines
592 B
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
// 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 {
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);
};