| Index: mojo/examples/apptest/example_service.mojom
|
| diff --git a/mojo/examples/apptest/example_service.mojom b/mojo/examples/apptest/example_service.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0079653c5e8c37a494b6136cbd89322c6e5f921f
|
| --- /dev/null
|
| +++ b/mojo/examples/apptest/example_service.mojom
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 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.
|
| +
|
| +module mojo {
|
| +
|
| +// A simple service used for unit testing experimentation.
|
| +// TODO(msw): Dedup: mojo/services/dbus_echo/echo.mojom
|
| +// mojo/service_manager/test.mojom
|
| +// mojo/public/interfaces/bindings/tests/sample_service.mojom
|
| +// mojo/services/test_service/test_service.mojom
|
| +[Client=ExampleClient]
|
| +interface ExampleService {
|
| + // Calls ExampleClient::Pong with |ping_value|.
|
| + Ping(uint16 ping_value);
|
| +
|
| + // Runs the argument callback.
|
| + RunCallback() => ();
|
| +};
|
| +
|
| +interface ExampleClient {
|
| + Pong(uint16 pong_value);
|
| +};
|
| +
|
| +}
|
|
|