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

Unified Diff: mojo/system/waiter_list.cc

Issue 334663004: Mojo: Remove old form of WaiterList::AwakeWaitersForStateChange(). (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/waiter_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/waiter_list.cc
diff --git a/mojo/system/waiter_list.cc b/mojo/system/waiter_list.cc
index c398c8439d2d6f95e77fa1b75533503296968325..d0436ce4831f27b97f04d3cd5fc7c54fd7a8023a 100644
--- a/mojo/system/waiter_list.cc
+++ b/mojo/system/waiter_list.cc
@@ -28,18 +28,6 @@ void WaiterList::AwakeWaitersForStateChange(const WaitFlagsState& state) {
}
}
-//FIXME Remove:
-void WaiterList::AwakeWaitersForStateChange(MojoWaitFlags satisfied_flags,
- MojoWaitFlags satisfiable_flags) {
- for (WaiterInfoList::iterator it = waiters_.begin(); it != waiters_.end();
- ++it) {
- if (it->flags & satisfied_flags)
- it->waiter->Awake(it->wake_result);
- else if (!(it->flags & satisfiable_flags))
- it->waiter->Awake(MOJO_RESULT_FAILED_PRECONDITION);
- }
-}
-
void WaiterList::CancelAllWaiters() {
for (WaiterInfoList::iterator it = waiters_.begin(); it != waiters_.end();
++it) {
« no previous file with comments | « mojo/system/waiter_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698