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/service_provider.mojom"; | 8 import "mojo/public/interfaces/application/service_provider.mojom"; |
9 import "mojo/public/interfaces/application/shell.mojom"; | 9 import "mojo/public/interfaces/application/shell.mojom"; |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
43 // It is possible that both parameters will be valid/bound if the other | 43 // It is possible that both parameters will be valid/bound if the other |
44 // application wants to both request services from and offer services to this | 44 // application wants to both request services from and offer services to this |
45 // application. | 45 // application. |
46 // | 46 // |
47 // This application is free to ignore the |services| or |exposed_services| | 47 // This application is free to ignore the |services| or |exposed_services| |
48 // parameters if it does not wish to offer or request services. | 48 // parameters if it does not wish to offer or request services. |
49 // | 49 // |
50 // resolved_url is the URL that was requested to create this connection, after | 50 // resolved_url is the URL that was requested to create this connection, after |
51 // all mappings, resolutions, and redirects. This will include any querystring | 51 // all mappings, resolutions, and redirects. This will include any querystring |
52 // that was part of the request. | 52 // that was part of the request. |
53 AcceptConnection(string requestor_url, | 53 AcceptConnection(string requestor_url, ServiceProvider&? services, ServiceProv ider? exposed_services, string resolved_url); |
jamesr
2016/02/29 23:40:49
yikes, this is really long. does the formatter kno
vtl
2016/02/29 23:41:59
This seems to be a regression. We should enforce a
| |
54 ServiceProvider&? services, | |
55 ServiceProvider? exposed_services, | |
56 string resolved_url); | |
57 | 54 |
58 // Called to request the application shut itself down gracefully. | 55 // Called to request the application shut itself down gracefully. |
59 RequestQuit(); | 56 RequestQuit(); |
60 }; | 57 }; |
OLD | NEW |