| 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 17 matching lines...) Expand all Loading... |
| 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 handle<data_pipe_consumer>[] input_streams @10; | 32 handle<data_pipe_consumer>[] input_streams @10; |
| 33 handle<data_pipe_producer>[] output_streams @11; | 33 handle<data_pipe_producer>[] output_streams @11; |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 [Peer=ServiceClient] | 36 [Peer=ServiceClient] |
| 37 interface Service { | 37 interface Service { |
| 38 void Frobinate(Foo foo @0, bool baz @1, handle<message_pipe> port @2) @0; | 38 enum BazOptions { |
| 39 BAZ_REGULAR = 0, |
| 40 BAZ_EXTRA |
| 41 }; |
| 42 void Frobinate(Foo foo @0, int32 baz @1, handle<message_pipe> port @2) @0; |
| 39 }; | 43 }; |
| 40 | 44 |
| 41 [Peer=Service] | 45 [Peer=Service] |
| 42 interface ServiceClient { | 46 interface ServiceClient { |
| 43 void DidFrobinate(int32 result @0) @0; | 47 void DidFrobinate(int32 result @0) @0; |
| 44 }; | 48 }; |
| 45 | 49 |
| 46 } | 50 } |
| OLD | NEW |