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 mojo { | 5 module mojo { |
6 | 6 |
7 [Peer=ShellClient] | 7 [Peer=ShellClient] |
8 interface Shell { | 8 interface Shell { |
9 // Loads url. mojo:{service} will result in the user of the value of the | 9 // Loads url. mojo:{service} will result in the user of the value of the |
10 // --origin flag to the shell being used. | 10 // --origin flag to the shell being used. |
11 Connect(string url, handle<message_pipe> client_handle); | 11 Connect(string url, handle<message_pipe> client_handle); |
12 }; | 12 }; |
13 | 13 |
14 [Peer=Shell] | 14 [Peer=Shell] |
15 interface ShellClient { | 15 interface ShellClient { |
16 AcceptConnection(string url, handle<message_pipe> client_handle); | 16 AcceptConnection(string url, handle<message_pipe> client_handle); |
17 }; | 17 }; |
18 | 18 |
19 } | 19 } |
OLD | NEW |