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

Unified Diff: mojo/edk/system/core.h

Issue 1748503002: [mojo-edk] Add MojoWatch and MojoCancelWatch APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert RequestContext usage, nits Created 4 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
« no previous file with comments | « mojo/edk/system/awakable_list.cc ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index e2a22b0d892d34893a26f6d78e8516a6d8b4c25b..65b6933a8bf6130ab5134bf8de7cf53f0f74745d 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -132,6 +132,11 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
MojoDeadline deadline,
uint32_t* result_index,
MojoHandleSignalsState* signals_states);
+ MojoResult Watch(MojoHandle handle,
+ MojoHandleSignals signals,
+ MojoWatchCallback callback,
+ uintptr_t context);
+ MojoResult CancelWatch(MojoHandle handle, uintptr_t context);
// These methods correspond to the API functions defined in
// "mojo/public/c/system/wait_set.h":
« no previous file with comments | « mojo/edk/system/awakable_list.cc ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698