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

Unified Diff: mojo/edk/embedder/entrypoints.cc

Issue 2741033003: Mojo EDK: Introduce MojoQueryHandleSignalsState API (Closed)
Patch Set: fix stupid bad DCHECK Created 3 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
« no previous file with comments | « mojo/android/system/src/org/chromium/mojo/system/impl/HandleBase.java ('k') | mojo/edk/js/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/entrypoints.cc
diff --git a/mojo/edk/embedder/entrypoints.cc b/mojo/edk/embedder/entrypoints.cc
index ecf163061f5970d5d74965d1b162debef1499ada..5c149d969f57b080a71f09e8ece6ce02a064d1dc 100644
--- a/mojo/edk/embedder/entrypoints.cc
+++ b/mojo/edk/embedder/entrypoints.cc
@@ -28,6 +28,12 @@ MojoResult MojoCloseImpl(MojoHandle handle) {
return g_core->Close(handle);
}
+MojoResult MojoQueryHandleSignalsStateImpl(
+ MojoHandle handle,
+ MojoHandleSignalsState* signals_state) {
+ return g_core->QueryHandleSignalsState(handle, signals_state);
+}
+
MojoResult MojoWaitImpl(MojoHandle handle,
MojoHandleSignals signals,
MojoDeadline deadline,
@@ -281,6 +287,7 @@ MojoSystemThunks MakeSystemThunks() {
MojoSystemThunks system_thunks = {sizeof(MojoSystemThunks),
MojoGetTimeTicksNowImpl,
MojoCloseImpl,
+ MojoQueryHandleSignalsStateImpl,
MojoWaitImpl,
MojoWaitManyImpl,
MojoCreateMessagePipeImpl,
« no previous file with comments | « mojo/android/system/src/org/chromium/mojo/system/impl/HandleBase.java ('k') | mojo/edk/js/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698