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

Unified Diff: mojo/environment/default_async_waiter_impl.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/common/message_pump_mojo.cc ('k') | mojo/public/c/environment/async_waiter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/environment/default_async_waiter_impl.cc
diff --git a/mojo/environment/default_async_waiter_impl.cc b/mojo/environment/default_async_waiter_impl.cc
index 5279aadfb2d705840a62bf3c5bc0741369a15210..ff7a524752ec6e4674a9e554b796128d7b8a7ac0 100644
--- a/mojo/environment/default_async_waiter_impl.cc
+++ b/mojo/environment/default_async_waiter_impl.cc
@@ -20,13 +20,13 @@ void OnHandleReady(common::HandleWatcher* watcher,
}
MojoAsyncWaitID AsyncWait(MojoHandle handle,
- MojoWaitFlags flags,
+ MojoHandleSignals signals,
MojoDeadline deadline,
MojoAsyncWaitCallback callback,
void* closure) {
// This instance will be deleted when done or cancelled.
common::HandleWatcher* watcher = new common::HandleWatcher();
- watcher->Start(Handle(handle), flags, deadline,
+ watcher->Start(Handle(handle), signals, deadline,
base::Bind(&OnHandleReady, watcher, callback, closure));
return reinterpret_cast<MojoAsyncWaitID>(watcher);
}
« no previous file with comments | « mojo/common/message_pump_mojo.cc ('k') | mojo/public/c/environment/async_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698