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

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

Issue 23913008: C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 };
viettrungluu 2013/10/01 00:51:04 Are we going to support ... - ... "enums"? Enumer
14
15 struct Foo {
16 x @0 :int32;
17 y @1 :int32;
18 a @2 :bool;
19 b @3 :bool;
20 c @4 :bool;
21 bar @5 :Bar;
22 extra_bars @7 :array(Bar) [optional];
23 data @6 :array(uint8);
24 };
25
26 interface Service {
27 Frobinate @0 (foo @0 :Foo, baz @1 :bool);
28 };
29
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698