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

Unified Diff: examples/python/__mojo__.py

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
Index: examples/python/__mojo__.py
diff --git a/examples/python/__mojo__.py b/examples/python/__mojo__.py
index 03ec960aa7fc2dc2f41ec34f679b6299262e2fa9..ce13efb457cd945ff5419a1bb8537ffc029374b1 100644
--- a/examples/python/__mojo__.py
+++ b/examples/python/__mojo__.py
@@ -18,7 +18,7 @@ class ApplicationImpl(application_mojom.Application):
self._providers = []
application_mojom.Application.manager.Bind(self, app_request_handle)
- def Initialize(self, shell, args):
+ def Initialize(self, shell, url, args):
self.shell = shell
def AcceptConnection(self, requestor_url, services, exposed_services):
« no previous file with comments | « examples/forwarding_content_handler/forwarding_content_handler.cc ('k') | mojo/public/cpp/application/application_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698