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

Unified Diff: mojo/public/cpp/environment/lib/default_async_waiter.cc

Issue 345463003: Mojo: MojoWaitFlags -> MojoHandleSignals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/public/c/system/types.h ('k') | mojo/public/cpp/environment/tests/async_waiter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/environment/lib/default_async_waiter.cc
diff --git a/mojo/public/cpp/environment/lib/default_async_waiter.cc b/mojo/public/cpp/environment/lib/default_async_waiter.cc
index 4dcbe47122528f84652d33814c954e59cb766e25..ae89a86f45e2d351eec422d29deec477643e8bf9 100644
--- a/mojo/public/cpp/environment/lib/default_async_waiter.cc
+++ b/mojo/public/cpp/environment/lib/default_async_waiter.cc
@@ -59,7 +59,7 @@ class RunLoopHandlerImpl : public RunLoopHandler {
};
MojoAsyncWaitID AsyncWait(MojoHandle handle,
- MojoWaitFlags flags,
+ MojoHandleSignals signals,
MojoDeadline deadline,
MojoAsyncWaitCallback callback,
void* closure) {
@@ -70,7 +70,7 @@ MojoAsyncWaitID AsyncWait(MojoHandle handle,
// CancelWait is invoked.
RunLoopHandlerImpl* run_loop_handler =
new RunLoopHandlerImpl(Handle(handle), callback, closure);
- run_loop->AddHandler(run_loop_handler, Handle(handle), flags, deadline);
+ run_loop->AddHandler(run_loop_handler, Handle(handle), signals, deadline);
return reinterpret_cast<MojoAsyncWaitID>(run_loop_handler);
}
« no previous file with comments | « mojo/public/c/system/types.h ('k') | mojo/public/cpp/environment/tests/async_waiter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698