Index: base/test/test_mock_time_task_runner.h |
diff --git a/base/test/test_mock_time_task_runner.h b/base/test/test_mock_time_task_runner.h |
index 54ebbdb7a8d6b637ea3d0de64b2f3af138bda0ab..5c61a36f6973342f8d723c890b7ec81be22d5c29 100644 |
--- a/base/test/test_mock_time_task_runner.h |
+++ b/base/test/test_mock_time_task_runner.h |
@@ -12,6 +12,7 @@ |
#include <queue> |
#include <vector> |
+#include "base/callback.h" |
#include "base/callback_helpers.h" |
#include "base/macros.h" |
#include "base/single_thread_task_runner.h" |
@@ -140,10 +141,10 @@ class TestMockTimeTaskRunner : public SingleThreadTaskRunner { |
// SingleThreadTaskRunner: |
bool RunsTasksOnCurrentThread() const override; |
bool PostDelayedTask(const tracked_objects::Location& from_here, |
- const Closure& task, |
+ Closure task, |
TimeDelta delay) override; |
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here, |
- const Closure& task, |
+ Closure task, |
TimeDelta delay) override; |
protected: |