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 // TODO(msw): Based on mojo/services/dbus_echo/echo.mojom ... |
| 8 // TODO(msw): Combine with mojo/service_manager/test.mojom ??? |
| 9 // TODO(msw): Replace with mojo/public/interfaces/bindings/tests/sample_service.
mojom ??? |
| 10 // TODO(msw): Replace with mojo/services/test_service/test_service.mojom ??? |
| 11 [Client=ExampleClient] |
| 12 interface ExampleService { |
| 13 // Calls the supplied callback with the supplied string. |
| 14 Echo(string to_echo) => (string echoed); |
| 15 |
| 16 // Calls ExampleClient::Pong with the supplied value. |
| 17 Ping(uint16 ping_value); |
| 18 }; |
| 19 |
| 20 interface ExampleClient { |
| 21 Pong(uint16 pong_value); |
| 22 }; |
| 23 |
| 24 } |
OLD | NEW |