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

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: Address most remaining comments. Created 6 years, 4 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
« no previous file with comments | « mojo/examples/test/example_apptest.cc ('k') | mojo/examples/test/example_service_application.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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 }
OLDNEW
« no previous file with comments | « mojo/examples/test/example_apptest.cc ('k') | mojo/examples/test/example_service_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698