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

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..41ad9c5d41c6cdec650ebb231d8777926047eb69 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 a service application. Two
+// applications are started by a broker that connect to this service
+// application, one is limited by the broker to only see Safe while the other
+// can see both Safe and Unsafe.
+interface Safe {
+ SafeMethod();
+};
+
+interface Unsafe {
+ UnsafeMethod();
+};
+
+interface Driver {
+ Run();
+};
« mojo/shell/application_instance.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