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

Unified Diff: mojo/public/utility/run_loop.h

Issue 126883002: Make RunLoop remove handle when a timeout is notified (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add const to HasHandler() Created 6 years, 11 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 | « no previous file | mojo/public/utility/run_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/utility/run_loop.h
diff --git a/mojo/public/utility/run_loop.h b/mojo/public/utility/run_loop.h
index 839d6de26743fb701f55da0cb02c83103d323ecb..a0c4d70e56459b84b984a812a1829f77ee4330fd 100644
--- a/mojo/public/utility/run_loop.h
+++ b/mojo/public/utility/run_loop.h
@@ -37,6 +37,7 @@ class RunLoop {
MojoWaitFlags wait_flags,
MojoDeadline deadline);
void RemoveHandler(const Handle& handle);
+ bool HasHandler(const Handle& handle) const;
// Runs the loop servicing handles as they are ready. This returns when Quit()
// is invoked, or there no more handles.
« no previous file with comments | « no previous file | mojo/public/utility/run_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698