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

Unified Diff: mojo/public/python/mojo/c_environment.pxd

Issue 644773002: mojo: Add RunLoop::Current() and refactor unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | mojo/public/python/mojo/system.pyx » ('j') | mojo/public/python/mojo/system.pyx » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/python/mojo/c_environment.pxd
diff --git a/mojo/public/python/mojo/c_environment.pxd b/mojo/public/python/mojo/c_environment.pxd
index 13a0934a717dee877514349871b74f090a7bd992..3dfa79960ed5c17786b91e364f572f7099d0ab0c 100644
--- a/mojo/public/python/mojo/c_environment.pxd
+++ b/mojo/public/python/mojo/c_environment.pxd
@@ -41,6 +41,7 @@ cdef extern from "mojo/public/cpp/utility/run_loop.h" nogil:
void RunUntilIdle() except *
void Quit()
void PostDelayedTask(CClosure&, int64_t)
+ cdef CRunLoop CRunLoopCurrent "mojo::RunLoop::current"()
cdef extern from "mojo/public/cpp/environment/environment.h" nogil:
« no previous file with comments | « no previous file | mojo/public/python/mojo/system.pyx » ('j') | mojo/public/python/mojo/system.pyx » ('J')

Powered by Google App Engine
This is Rietveld 408576698