OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/service_provider.mojom"; | 8 import "mojo/public/interfaces/application/service_provider.mojom"; |
9 | 9 |
10 interface ApplicationConnector { | 10 interface ApplicationConnector { |
(...skipping 16 matching lines...) Expand all Loading... |
27 // At least one of |services| or |exposed_services| should be valid/bound in | 27 // At least one of |services| or |exposed_services| should be valid/bound in |
28 // the call. | 28 // the call. |
29 // | 29 // |
30 // If the |application_url| does not contain a domain, but is of the form | 30 // If the |application_url| does not contain a domain, but is of the form |
31 // "mojo:{service}", it is up to the Mojo shell to select an appropriate | 31 // "mojo:{service}", it is up to the Mojo shell to select an appropriate |
32 // application for the service. Currently, the shell does this based on the | 32 // application for the service. Currently, the shell does this based on the |
33 // value of its --origin flag. | 33 // value of its --origin flag. |
34 ConnectToApplication(string application_url, | 34 ConnectToApplication(string application_url, |
35 ServiceProvider&? services, | 35 ServiceProvider&? services, |
36 ServiceProvider? exposed_services); | 36 ServiceProvider? exposed_services); |
| 37 |
| 38 // Creates a duplicate of this |ApplicationConnector|. |
| 39 Duplicate(ApplicationConnector& application_connector_request); |
37 }; | 40 }; |
OLD | NEW |