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

Side by Side Diff: mojo/public/bindings/tests/sample_interfaces.mojom

Issue 198343002: Mojo: request/response bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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/public/bindings/tests/router_unittest.cc ('k') | mojo/services/gles2/command_buffer.mojom » ('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 sample {
6
7 struct Coord {
8 int32 x;
9 int32 y;
10 };
11
12 [Peer=ProviderClient]
13 interface Provider {
14 EchoString(string a) => (string a);
15 EchoStrings(string a, string b) => (string a, string b);
16 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a);
17 //EchoVoid() => ();
18 //MakeCoord(int32 x, int32 y) => (Coord coord);
19 //Make2Coords(int32 x1, int32 y1, int32 x2, int32 y2) =>
20 // (Coord coord1, Coord coord2);
21 };
22
23 [Peer=Provider]
24 interface ProviderClient {
25 };
26
27 }
OLDNEW
« no previous file with comments | « mojo/public/bindings/tests/router_unittest.cc ('k') | mojo/services/gles2/command_buffer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698