Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Unified Diff: mojo/application/public/interfaces/shell.mojom

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/application/public/interfaces/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « mojo/application/public/interfaces/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698