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

Unified Diff: mojo/shell/capability_filter_unittest.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/capability_filter_unittest.mojom
diff --git a/mojo/shell/capability_filter_unittest.mojom b/mojo/shell/capability_filter_unittest.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..64ea598fc5bb4aa8bad41ff94fe0adc04ba30a84
--- /dev/null
+++ b/mojo/shell/capability_filter_unittest.mojom
@@ -0,0 +1,21 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module mojo.shell;
+
+// 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 { };
+interface Unsafe { };
+
+// Implemented by a test application to allow service applications to inform it
+// of services/connections blocked.
+interface Client {
+ AddServiceCalled(string app_url,
+ string service_url,
+ string name,
+ bool blocked);
+};

Powered by Google App Engine
This is Rietveld 408576698