Index: mojo/public/interfaces/application/application.mojom |
diff --git a/mojo/public/interfaces/application/application.mojom b/mojo/public/interfaces/application/application.mojom |
index 4cf21108d0d6cfe8e45d218efd5ea8d89c1eaabf..d389ae2dd15ab45c1f7a6289f19fdca46af2d234 100644 |
--- a/mojo/public/interfaces/application/application.mojom |
+++ b/mojo/public/interfaces/application/application.mojom |
@@ -12,5 +12,13 @@ interface Application { |
// Initialize is guaranteed to be called before any AcceptConnection calls. |
Initialize(array<string>? args); |
- AcceptConnection(string? requestor_url, ServiceProvider? provider); |
+ // Called in response to a call to mojo.Shell.ConnectToApplication(). |
+ // The |services| and |exposed_services| parameters are the same as those on |
+ // mojo.Shell.ConnectToApplication(). |
+ // |services| will be used to look up services provided by this application. |
+ // |exposed_services| can be used to look up services exposed by the |
+ // application at |requestor_url|. |
+ AcceptConnection(string requestor_url, |
+ ServiceProvider&? services, |
+ ServiceProvider? exposed_services); |
}; |