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 { |
+ OnConnect(string url, |
+ URLResponse url_response, |
+ ServiceProvider service_provider); |
}; |
} |