Index: mojo/application/public/interfaces/shell.mojom |
diff --git a/mojo/application/public/interfaces/shell.mojom b/mojo/application/public/interfaces/shell.mojom |
index b6b131924070a1e975443720bacbb5176276ee0d..2688f0eabe266394c2d609343e0d0c87e876a341 100644 |
--- a/mojo/application/public/interfaces/shell.mojom |
+++ b/mojo/application/public/interfaces/shell.mojom |
@@ -5,13 +5,16 @@ |
module mojo; |
import "mojo/application/public/interfaces/service_provider.mojom"; |
+import "network/public/interfaces/url_loader.mojom"; |
// An interface through which a Mojo application may communicate with the Mojo |
// system and request connections to other applications. |
interface Shell { |
// Establishes a connection with another application (located at |
- // |application_url|) through which the calling application and the other |
- // application may request services from one another. |
+ // |request->url|) through which the calling application and the other |
+ // application may request services from one another. |application_url| is a |
+ // URLRequest in case this is called for an HTTP navigation, in which case |
+ // HTTP specific information like POST data, referrer header etc... needed. |
// |
// If the calling application would like to request services from the other |
// application, it should pass a valid interface request in the |services| |
@@ -32,7 +35,7 @@ interface Shell { |
// "mojo:{service}", it is up to the Mojo shell to select an appropriate |
// application for the service. Currently, the shell does this based on the |
// value of its --origin flag. |
- ConnectToApplication(string application_url, |
+ ConnectToApplication(URLRequest application_url, |
ServiceProvider&? services, |
ServiceProvider? exposed_services); |
}; |