OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module mojo { |
| 6 |
| 7 // A simple service used for unit testing experimentation. |
| 8 // TODO(msw): Dedup: mojo/services/dbus_echo/echo.mojom |
| 9 // mojo/service_manager/test.mojom |
| 10 // mojo/public/interfaces/bindings/tests/sample_service.mojom |
| 11 // mojo/services/test_service/test_service.mojom |
| 12 [Client=ExampleClient] |
| 13 interface ExampleService { |
| 14 // Calls ExampleClient::Pong with |ping_value|. |
| 15 Ping(uint16 ping_value); |
| 16 |
| 17 // Runs the argument callback. |
| 18 RunCallback() => (); |
| 19 }; |
| 20 |
| 21 interface ExampleClient { |
| 22 Pong(uint16 pong_value); |
| 23 }; |
| 24 |
| 25 } |
OLD | NEW |