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

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

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: . Created 3 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: mojo/edk/system/dispatcher.h
diff --git a/mojo/edk/system/dispatcher.h b/mojo/edk/system/dispatcher.h
index 9dca67fa45f800d45231cb7a3c1e1718c0261c5e..47d2848436e186ab55ad59e90e5ac2f1a5cecdf0 100644
--- a/mojo/edk/system/dispatcher.h
+++ b/mojo/edk/system/dispatcher.h
@@ -69,11 +69,11 @@ class MOJO_SYSTEM_IMPL_EXPORT Dispatcher
///////////// Watch API ////////////////////
- virtual MojoResult Watch(MojoHandleSignals signals,
- const Watcher::WatchCallback& callback,
- uintptr_t context);
-
- virtual MojoResult CancelWatch(uintptr_t context);
+ virtual MojoResult RegisterWatcher(MojoHandleSignals signals,
+ const Watcher::WatchCallback& callback,
+ uintptr_t context);
+ virtual MojoResult ArmWatcher(uintptr_t context);
+ virtual MojoResult UnregisterWatcher(uintptr_t context);
///////////// Message pipe API /////////////

Powered by Google App Engine
This is Rietveld 408576698