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

Unified Diff: third_party/mojo/src/mojo/public/python/mojo_application/application_delegate.py

Issue 1019173002: Update mojo sdk to rev 7214b7ec7d27563b2666afad86cf1c5895c56c18 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep permission service alive if embedder drops requests Created 5 years, 9 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: third_party/mojo/src/mojo/public/python/mojo_application/application_delegate.py
diff --git a/third_party/mojo/src/mojo/public/python/mojo_application/application_delegate.py b/third_party/mojo/src/mojo/public/python/mojo_application/application_delegate.py
index c4a817d968940bc091a12b0f3ecc26aad97d2562..58918e597d3a7bbe01d87119ea82a82068e41253 100644
--- a/third_party/mojo/src/mojo/public/python/mojo_application/application_delegate.py
+++ b/third_party/mojo/src/mojo/public/python/mojo_application/application_delegate.py
@@ -18,10 +18,13 @@ class ApplicationDelegate:
"""
pass
- def OnAcceptConnection(self, service_provider, requestor_url,
+ def OnAcceptConnection(self,
+ requestor_url,
+ resolved_url,
+ service_provider,
exposed_services):
"""
Called from ApplicationImpl's OnAcceptConnection() method. Returns a bool
indicating whether this connection should be accepted.
"""
- return True
+ return False

Powered by Google App Engine
This is Rietveld 408576698