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

Side by Side Diff: mojo/public/bindings/sample/sample_service.idl

Issue 27034003: Mojo C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation issue on Official Linux builder Created 7 years, 2 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 2013 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 // HYPOTHETICAL IDL:
6
7 module sample {
8
9 struct Bar {
10 alpha @0 :uint8;
11 beta @1 :uint8;
12 gamma @2 :uint8;
13 };
14
15 struct Foo {
16 name @8 :string;
17 x @0 :int32;
18 y @1 :int32;
19 a @2 :bool;
20 b @3 :bool;
21 c @4 :bool;
22 bar @5 :Bar;
23 extra_bars @7 :array(Bar) [optional];
24 data @6 :array(uint8);
25 files @9 :array(handle);
26 };
27
28 interface Service {
29 Frobinate @0 (foo @0 :Foo, baz @1 :bool, port @2 :handle);
30 };
31
32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698