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

Unified Diff: mojo/system/waiter_list.h

Issue 325213004: Mojo: Wrap the satisfied/unsatisfied wait flags state in a single object. (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/wait_flags_state.h ('k') | mojo/system/waiter_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/waiter_list.h
diff --git a/mojo/system/waiter_list.h b/mojo/system/waiter_list.h
index 7266e2c7b9d3ea9b1bfd19613893f32da51457e1..105717e348e1f15e4f4c2a125de91971619f6768 100644
--- a/mojo/system/waiter_list.h
+++ b/mojo/system/waiter_list.h
@@ -15,6 +15,7 @@ namespace mojo {
namespace system {
class Waiter;
+struct WaitFlagsState;
// |WaiterList| tracks all the |Waiter|s that are waiting on a given
// handle/|Dispatcher|. There should be a |WaiterList| for each handle that can
@@ -28,6 +29,8 @@ class MOJO_SYSTEM_IMPL_EXPORT WaiterList {
WaiterList();
~WaiterList();
+ void AwakeWaitersForStateChange(const WaitFlagsState& state);
+//FIXME Remove:
void AwakeWaitersForStateChange(MojoWaitFlags satisfied_flags,
MojoWaitFlags satisfiable_flags);
void CancelAllWaiters();
« no previous file with comments | « mojo/system/wait_flags_state.h ('k') | mojo/system/waiter_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698