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

Unified Diff: mojo/public/interfaces/application/application_connector.mojom

Issue 2034383003: Removed exposed_services from mojom definitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 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/public/interfaces/application/application_connector.mojom
diff --git a/mojo/public/interfaces/application/application_connector.mojom b/mojo/public/interfaces/application/application_connector.mojom
index 7cbb6794f2dfff2f2902b4337d5220f081d383f5..066724d9d66c984de178d42f137fcb91705ab36c 100644
--- a/mojo/public/interfaces/application/application_connector.mojom
+++ b/mojo/public/interfaces/application/application_connector.mojom
@@ -12,32 +12,11 @@ interface ApplicationConnector {
// |application_url|) through which the calling application and the other
// application may request services from one another.
//
- // If the calling application would like to request services from the other
- // application, it should pass a valid interface request in the |services|
- // parameter (i.e. one containing a valid message pipe endpoint). If the other
- // application does not wish to offer services, it may either not bind an
- // implementation to the interface request, or else bind an implementation
- // that will reject some or all service requests.
- //
- // If the calling application would like to offer services to the other
- // application, it should pass a bound interface through the
- // |exposed_services| parameter. The other application may then request
- // services through that interface.
- //
- // At least one of |services| or |exposed_services| should be valid/bound in
- // the call.
- //
// If the |application_url| does not contain a domain, but is of the form
// "mojo:{service}", it is up to the Mojo shell to select an appropriate
// application for the service. Currently, the shell does this based on the
// value of its --origin flag.
- //
- // WARNING: |exposed_services| is deprecated and non-functional, and will be
- // removed. Note that this also means that |services| will become required.
- // https://github.com/domokit/mojo/issues/762
- ConnectToApplication(string application_url,
- ServiceProvider&? services,
- ServiceProvider? exposed_services);
+ ConnectToApplication(string application_url, ServiceProvider& services);
// Creates a duplicate of this |ApplicationConnector|.
Duplicate(ApplicationConnector& application_connector_request);
« no previous file with comments | « mojo/public/interfaces/application/application.mojom ('k') | mojo/public/interfaces/application/shell.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698