Chromium Code Reviews| Index: mojo/services/public/interfaces/content_handler/content_handler.mojom |
| diff --git a/mojo/public/interfaces/application/application.mojom b/mojo/services/public/interfaces/content_handler/content_handler.mojom |
| similarity index 54% |
| copy from mojo/public/interfaces/application/application.mojom |
| copy to mojo/services/public/interfaces/content_handler/content_handler.mojom |
| index 8828903c9405faa379733ae1a1e951cbf717cdbb..6c07580e30a0c81b767fb1b618cddbe4cb586aa5 100644 |
| --- a/mojo/public/interfaces/application/application.mojom |
| +++ b/mojo/services/public/interfaces/content_handler/content_handler.mojom |
| @@ -3,14 +3,14 @@ |
| // found in the LICENSE file. |
| import "mojo/public/interfaces/application/service_provider.mojom" |
| +import "mojo/services/public/interfaces/network/url_loader.mojom" |
| module mojo { |
| -// Applications vend Services through the ServiceProvider interface. Services |
| -// implement Interfaces. |
| -[Client=Shell] |
| -interface Application { |
| - AcceptConnection(string requestor_url, ServiceProvider provider); |
| +interface ContentHandler { |
|
darin (slow to review)
2014/08/06 23:10:02
by the way, I'm not 100% sold on the name "OnConne
Aaron Boodman
2014/08/07 00:03:12
Yeah. I am not 100% with it either. There is also
|
| + OnConnect(string url, |
|
darin (slow to review)
2014/08/06 23:10:02
Isn't this |url| parameter redundant? The URLRespo
Aaron Boodman
2014/08/07 00:03:12
No, because redirects. Also, as I said above in th
|
| + URLResponse url_response, |
| + ServiceProvider service_provider); |
| }; |
| } |