Index: base/test/test_simple_task_runner.h |
diff --git a/base/test/test_simple_task_runner.h b/base/test/test_simple_task_runner.h |
index 88113bef04685529eed2ea002aab2a6e5af57b5a..c011ea52516ff2a89615a138517e142cf952b9b3 100644 |
--- a/base/test/test_simple_task_runner.h |
+++ b/base/test/test_simple_task_runner.h |
@@ -15,6 +15,8 @@ |
namespace base { |
+class TimeDelta; |
+ |
// TestSimpleTaskRunner is a simple TaskRunner implementation that can |
// be used for testing. It implements SingleThreadTaskRunner as that |
// interface implements SequencedTaskRunner, which in turn implements |
@@ -56,6 +58,8 @@ class TestSimpleTaskRunner : public SingleThreadTaskRunner { |
virtual bool RunsTasksOnCurrentThread() const OVERRIDE; |
const std::deque<TestPendingTask>& GetPendingTasks() const; |
+ bool HasPendingTask() const; |
+ base::TimeDelta NextPendingTaskDelay() const; |
// Clears the queue of pending tasks without running them. |
void ClearPendingTasks(); |