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

Unified Diff: mojo/system/simple_dispatcher.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/system/simple_dispatcher.h ('k') | mojo/system/simple_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/simple_dispatcher.cc
diff --git a/mojo/system/simple_dispatcher.cc b/mojo/system/simple_dispatcher.cc
index 4edd1ca577782c6da5a74fe5c2c7d33c3627ded8..b9870a34a91843fca902a843a4b43d610014056d 100644
--- a/mojo/system/simple_dispatcher.cc
+++ b/mojo/system/simple_dispatcher.cc
@@ -26,17 +26,17 @@ void SimpleDispatcher::CancelAllWaitersNoLock() {
}
MojoResult SimpleDispatcher::AddWaiterImplNoLock(Waiter* waiter,
- MojoWaitFlags flags,
+ MojoHandleSignals signals,
uint32_t context) {
lock().AssertAcquired();
WaitFlagsState state(GetWaitFlagsStateNoLock());
- if (state.satisfies(flags))
+ if (state.satisfies(signals))
return MOJO_RESULT_ALREADY_EXISTS;
- if (!state.can_satisfy(flags))
+ if (!state.can_satisfy(signals))
return MOJO_RESULT_FAILED_PRECONDITION;
- waiter_list_.AddWaiter(waiter, flags, context);
+ waiter_list_.AddWaiter(waiter, signals, context);
return MOJO_RESULT_OK;
}
« no previous file with comments | « mojo/system/simple_dispatcher.h ('k') | mojo/system/simple_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698