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 [Peer=ProviderClient] | 7 [Peer=ProviderClient] |
8 interface Provider { | 8 interface Provider { |
9 EchoString(string a) => (string a); | 9 EchoString(string a) => (string a); |
10 EchoStrings(string a, string b) => (string a, string b); | 10 EchoStrings(string a, string b) => (string a, string b); |
11 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); | 11 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); |
12 }; | 12 }; |
13 | 13 |
14 [Peer=Provider] | 14 [Peer=Provider] |
15 interface ProviderClient { | 15 interface ProviderClient { |
16 }; | 16 }; |
17 | 17 |
18 } | 18 } |
OLD | NEW |