Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Side by Side Diff: mojo/shell/test.mojom

Issue 1244233002: Allow trusted brokers to restrict connections for spawned applications to whitelisted applications … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 };
OLDNEW
« mojo/shell/application_manager.cc ('K') | « mojo/shell/content_handler_connection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698