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

22 lines
601 B
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +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 {
[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);
};