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

Unified Diff: mojo/public/python/mojo_application/application_impl.py

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: hate 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: mojo/public/python/mojo_application/application_impl.py
diff --git a/mojo/public/python/mojo_application/application_impl.py b/mojo/public/python/mojo_application/application_impl.py
index 248329ab1511cd22391b5807139c406974866a39..394fdd2ef9782514ea4c487e343a6f60934aa2af 100644
--- a/mojo/public/python/mojo_application/application_impl.py
+++ b/mojo/public/python/mojo_application/application_impl.py
@@ -26,10 +26,11 @@ class ApplicationImpl(application_mojom.Application):
self.args = args
self._delegate.Initialize(shell, self)
- def AcceptConnection(self, requestor_url, services, exposed_services):
+ def AcceptConnection(self, requestor_url, services, exposed_services,
+ resolved_url):
service_provider = ServiceProviderImpl(services)
if self._delegate.OnAcceptConnection(service_provider, requestor_url,
- exposed_services):
+ exposed_services, resolved_url):
# We keep a reference to ServiceProviderImpl to ensure neither it nor
# |services| gets garbage collected.
services.Bind(service_provider)

Powered by Google App Engine
This is Rietveld 408576698