Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: mojo/examples/test/example_service.mojom

Issue 399653004: Add a Mojo example apptest that runs in mojo_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « no previous file | mojo/examples/test/example_service_application.h » ('j') | mojo/examples/test/example_service_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698