diff options
Diffstat (limited to 'mojo/public/interfaces')
-rw-r--r-- | mojo/public/interfaces/service_provider/service_provider.mojom (renamed from mojo/public/interfaces/shell/shell.mojom) | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mojo/public/interfaces/shell/shell.mojom b/mojo/public/interfaces/service_provider/service_provider.mojom index e5f6c39..85484eb 100644 --- a/mojo/public/interfaces/shell/shell.mojom +++ b/mojo/public/interfaces/service_provider/service_provider.mojom @@ -4,15 +4,13 @@ module mojo { -[Client=ShellClient] -interface Shell { +// ServiceProviders can forward requests to their clients. The relationship +// is symetrical. +[Client=ServiceProvider] +interface ServiceProvider { // Loads url. mojo:{service} will result in the user of the value of the // --origin flag to the shell being used. - Connect(string url, handle<message_pipe> client_handle); -}; - -interface ShellClient { - AcceptConnection(string url, handle<message_pipe> client_handle); + ConnectToService(string url, handle<message_pipe> client_handle); }; } |