| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module sample { | 5 module sample { |
| 6 | 6 |
| 7 enum BarType { | 7 enum BarType { |
| 8 BAR_VERTICAL = 1, | 8 BAR_VERTICAL = 1, |
| 9 BAR_HORIZONTAL = 2, | 9 BAR_HORIZONTAL = 2, |
| 10 BAR_INVALID | 10 BAR_INVALID |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 bool b @3; | 26 bool b @3; |
| 27 bool c @4; | 27 bool c @4; |
| 28 Bar bar @5; | 28 Bar bar @5; |
| 29 Bar[] extra_bars @7; | 29 Bar[] extra_bars @7; |
| 30 uint8[] data @6; | 30 uint8[] data @6; |
| 31 handle<message_pipe> source @9; | 31 handle<message_pipe> source @9; |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 [Peer=ServiceClient] | 34 [Peer=ServiceClient] |
| 35 interface Service { | 35 interface Service { |
| 36 void Frobinate(Foo foo @0, bool baz @1, handle<message_pipe> port @2) @0; | 36 enum BazOptions { |
| 37 BAZ_REGULAR = 0, |
| 38 BAZ_EXTRA |
| 39 }; |
| 40 void Frobinate(Foo foo @0, int32 baz @1, handle<message_pipe> port @2) @0; |
| 37 }; | 41 }; |
| 38 | 42 |
| 39 [Peer=Service] | 43 [Peer=Service] |
| 40 interface ServiceClient { | 44 interface ServiceClient { |
| 41 void DidFrobinate(int32 result @0) @0; | 45 void DidFrobinate(int32 result @0) @0; |
| 42 }; | 46 }; |
| 43 | 47 |
| 44 } | 48 } |
| OLD | NEW |