| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 Enum { | 7 enum Enum { |
| 8 ENUM_VALUE | 8 ENUM_VALUE |
| 9 }; | 9 }; |
| 10 | 10 |
| 11 [Peer=ProviderClient] | |
| 12 interface Provider { | 11 interface Provider { |
| 13 EchoString(string a) => (string a); | 12 EchoString(string a) => (string a); |
| 14 EchoStrings(string a, string b) => (string a, string b); | 13 EchoStrings(string a, string b) => (string a, string b); |
| 15 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); | 14 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); |
| 16 EchoEnum(Enum a) => (Enum a); | 15 EchoEnum(Enum a) => (Enum a); |
| 17 }; | 16 }; |
| 18 | 17 |
| 19 [Peer=Provider] | |
| 20 interface ProviderClient { | |
| 21 }; | |
| 22 | |
| 23 } | 18 } |
| OLD | NEW |