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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: mojo/shell/test.mojom
diff --git a/mojo/shell/test.mojom b/mojo/shell/test.mojom
index 25700b59b6f382512c315e137b0adeb4069776d5..98d34f0e0429a607467dcc03fa54dab972d9c30f 100644
--- a/mojo/shell/test.mojom
+++ b/mojo/shell/test.mojom
@@ -21,3 +21,19 @@ interface TestB {
interface TestC {
C() => ();
};
+
+// The following two interfaces are implemented by the application
+// mojo:restricted. Two applications are started by a broker that connect to
+// 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
+// other can see both Exposed and Restricted.
+interface Safe {
+ SafeMethod();
+};
+
+interface Unsafe {
+ UnsafeMethod();
+};
+
+interface Driver {
+ Run();
+};
« 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