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 [Client=ShellClient] | 7 [Client=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 interface ShellClient { | 14 interface ShellClient { |
15 AcceptConnection(string url, handle<message_pipe> client_handle); | 15 AcceptConnection(string url, handle<message_pipe> client_handle); |
16 }; | 16 }; |
17 | 17 |
18 } | 18 } |
OLD | NEW |