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

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

Issue 905583002: Pass the final URL an app was loaded from to the app in Initialize(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: o Created 5 years, 10 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/public/dart/src/application.dart ('k') | mojo/services/public/js/application.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/interfaces/application/application.mojom
diff --git a/mojo/public/interfaces/application/application.mojom b/mojo/public/interfaces/application/application.mojom
index cffcb1fc7606aa30ea59360f86f8bd31dd4e7537..03fe94369dcfd5ec6ff19571fff240e142bc3038 100644
--- a/mojo/public/interfaces/application/application.mojom
+++ b/mojo/public/interfaces/application/application.mojom
@@ -13,8 +13,9 @@ import "mojo/public/interfaces/application/shell.mojom";
interface Application {
// Initializes the application with the specified arguments. This method is
// guaranteed to be called before any other method is called, and will only be
- // called once.
- Initialize(Shell shell, array<string>? args);
+ // called once. The |url| parameter is the final url the application was found
+ // at, after all redirects and resolutions.
+ Initialize(Shell shell, array<string>? args, string url);
// Called when another application (identified by |requestor_url|) attempts to
// open a connection to this application.
« no previous file with comments | « mojo/public/dart/src/application.dart ('k') | mojo/services/public/js/application.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698