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

Unified Diff: mojo/system/shared_buffer_dispatcher.cc

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/shared_buffer_dispatcher.h ('k') | mojo/system/simple_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/shared_buffer_dispatcher.cc
diff --git a/mojo/system/shared_buffer_dispatcher.cc b/mojo/system/shared_buffer_dispatcher.cc
index 57f0b6e7482135b49082937882d8085b988ad099..4400b8ab22a6c61d666c8a65c914716297acc4a4 100644
--- a/mojo/system/shared_buffer_dispatcher.cc
+++ b/mojo/system/shared_buffer_dispatcher.cc
@@ -263,14 +263,9 @@ bool SharedBufferDispatcher::EndSerializeAndCloseImplNoLock(
return true;
}
-MojoWaitFlags SharedBufferDispatcher::SatisfiedFlagsNoLock() const {
+WaitFlagsState SharedBufferDispatcher::GetWaitFlagsStateNoLock() const {
// TODO(vtl): Add transferrable flag.
- return MOJO_WAIT_FLAG_NONE;
-}
-
-MojoWaitFlags SharedBufferDispatcher::SatisfiableFlagsNoLock() const {
- // TODO(vtl): Add transferrable flag.
- return MOJO_WAIT_FLAG_NONE;
+ return WaitFlagsState();
}
} // namespace system
« no previous file with comments | « mojo/system/shared_buffer_dispatcher.h ('k') | mojo/system/simple_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698