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 mojo.shell; | 5 module mojo.shell; |
6 | 6 |
7 interface TestService { | 7 interface TestService { |
8 Test(string test_string) => (); | 8 Test(string test_string) => (); |
9 }; | 9 }; |
10 | 10 |
11 interface TestA { | 11 interface TestA { |
12 CallB(); | 12 CallB(); |
13 CallCFromB(); | 13 CallCFromB(); |
14 }; | 14 }; |
15 | 15 |
16 interface TestB { | 16 interface TestB { |
17 B() => (); | 17 B() => (); |
18 CallC() => (); | 18 CallC() => (); |
19 }; | 19 }; |
20 | 20 |
21 interface TestC { | 21 interface TestC { |
22 C() => (); | 22 C() => (); |
23 }; | 23 }; |
24 | |
25 // The following two interfaces are implemented by the application | |
26 // mojo:restricted. Two applications are started by a broker that connect to | |
27 // mojo:restricted, one is limited by the broker to only see Exposed while the | |
jam
2015/07/22 19:47:40
nit: update comment to match names below
| |
28 // other can see both Exposed and Restricted. | |
29 interface Safe { | |
30 SafeMethod(); | |
31 }; | |
32 | |
33 interface Unsafe { | |
34 UnsafeMethod(); | |
35 }; | |
36 | |
37 interface Driver { | |
38 Run(); | |
39 }; | |
OLD | NEW |