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

Unified Diff: third_party/mojo/src/mojo/public/python/mojo_bindings/reflection.py

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() 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: third_party/mojo/src/mojo/public/python/mojo_bindings/reflection.py
diff --git a/third_party/mojo/src/mojo/public/python/mojo_bindings/reflection.py b/third_party/mojo/src/mojo/public/python/mojo_bindings/reflection.py
index 35b8ff294a16019dc07e16d1d59ea23e6083d457..cec05faec5286c2cad81ea224723b9fa61c38a65 100644
--- a/third_party/mojo/src/mojo/public/python/mojo_bindings/reflection.py
+++ b/third_party/mojo/src/mojo/public/python/mojo_bindings/reflection.py
@@ -12,6 +12,7 @@ import sys
import mojo_bindings.messaging as messaging
import mojo_bindings.promise as promise
import mojo_bindings.serialization as serialization
+import mojo_system
class MojoEnumType(type):
@@ -273,6 +274,10 @@ class InterfaceManager(object):
router.Start()
+ def NewRequest(self):
+ pipe = mojo_system.MessagePipe()
+ return (self.Proxy(pipe.handle0), InterfaceRequest(pipe.handle1))
+
def _InternalProxy(self, router, error_handler):
if error_handler is None:
error_handler = _ProxyErrorHandler()
@@ -550,6 +555,7 @@ def _StubAccept(methods):
# Close the connection in case of error.
logging.warning(
'Error occured in accept method. Connection will be closed.')
+ logging.debug("Exception", exc_info=True)
if self.impl.manager:
self.impl.manager.Close()
return False

Powered by Google App Engine
This is Rietveld 408576698