| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [DartPackage="mojo"] | 5 [DartPackage="mojo"] |
| 6 module mojo; | 6 module mojo; |
| 7 | 7 |
| 8 import "mojo/public/interfaces/application/application_connector.mojom"; | 8 import "mojo/public/interfaces/application/application_connector.mojom"; |
| 9 import "mojo/public/interfaces/application/service_provider.mojom"; | 9 import "mojo/public/interfaces/application/service_provider.mojom"; |
| 10 | 10 |
| 11 // An interface through which a Mojo application may communicate with the Mojo | 11 // An interface through which a Mojo application may communicate with the Mojo |
| 12 // system and request connections to other applications. | 12 // system and request connections to other applications. |
| 13 interface Shell { | 13 interface Shell { |
| 14 // See |ApplicationConnector.ConnectToApplication()|. | 14 // See |ApplicationConnector.ConnectToApplication()|. |
| 15 // | 15 // |
| 16 // WARNING: |exposed_services| is deprecated and non-functional, and will be | |
| 17 // removed. Note that this also means that |services| will become required. | |
| 18 // https://github.com/domokit/mojo/issues/762 | |
| 19 // | |
| 20 // TODO(vtl): Maybe this should be deprecated/removed (in favor of just using | 16 // TODO(vtl): Maybe this should be deprecated/removed (in favor of just using |
| 21 // |ApplicationConnector|). | 17 // |ApplicationConnector|). |
| 22 ConnectToApplication(string application_url, | 18 ConnectToApplication(string application_url, ServiceProvider& services); |
| 23 ServiceProvider&? services, | |
| 24 ServiceProvider? exposed_services); | |
| 25 | 19 |
| 26 CreateApplicationConnector( | 20 CreateApplicationConnector( |
| 27 ApplicationConnector& application_connector_request); | 21 ApplicationConnector& application_connector_request); |
| 28 }; | 22 }; |
| OLD | NEW |