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

Unified Diff: third_party/libjingle/files/talk/base/taskrunner.h

Issue 391027: Fix mediator_thread_impl.cc to run timer tasks when the task runner is... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | « chrome/browser/sync/notifier/listener/mediator_thread_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjingle/files/talk/base/taskrunner.h
===================================================================
--- third_party/libjingle/files/talk/base/taskrunner.h (revision 31519)
+++ third_party/libjingle/files/talk/base/taskrunner.h (working copy)
@@ -61,6 +61,11 @@
// dummy state machine - never run.
virtual int ProcessStart() { return STATE_DONE; }
+ bool HasPendingTimeoutTask() {
+ return next_timeout_task_ != NULL &&
+ next_timeout_task_->TimedOut();
tim (not reviewing) 2009/11/12 19:42:53 nit - indent 2 more.
+ }
+
private:
std::vector<Task *> tasks_;
Task *next_timeout_task_;
« no previous file with comments | « chrome/browser/sync/notifier/listener/mediator_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698