Chromium Code Reviews| 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_; |