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

Unified Diff: services/service_manager/public/interfaces/service.mojom

Issue 2446313003: Revise InterfaceRegistry API to support filtering interfaces @ Bind() time. (Closed)
Patch Set: . Created 4 years, 2 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: services/service_manager/public/interfaces/service.mojom
diff --git a/services/service_manager/public/interfaces/service.mojom b/services/service_manager/public/interfaces/service.mojom
index de5300ebb15f1084f10a986892c6360549d2ab92..aeb66172a4a2d5c1b12fa8bfecdea6f92d25e8e6 100644
--- a/services/service_manager/public/interfaces/service.mojom
+++ b/services/service_manager/public/interfaces/service.mojom
@@ -59,20 +59,6 @@ interface Service {
// A request for an InterfaceProvider by which the source service may
// seek to bind interface implementations exported by the target.
//
- // required_interfaces
- // A whitelist of interface names that should be made available to the
- // source that initiated the connection, in accordance to policy described
- // in the source & target's service manifests. Attempts to bind interfaces
- // not in this whitelist must not be fulfilled.
- //
- // required_capabilities
- // A set of the capability names required by the source initiating the
- // connection. |required_interfaces| controls interface binding, so this
- // is useful mostly if the target wishes to control behavior based on the
- // presence of a value in this set.
- //
OnConnect(ServiceInfo source_info,
- InterfaceProvider&? interfaces,
- InterfaceSet required_interfaces,
- CapabilitySet required_capabilities);
+ InterfaceProvider&? interfaces);
};
« no previous file with comments | « services/service_manager/public/cpp/tests/interface_registry_unittest.cc ('k') | services/service_manager/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698