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

// 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.

[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);
};