Index: base/sequenced_task_runner.h |
diff --git a/base/sequenced_task_runner.h b/base/sequenced_task_runner.h |
index 6b2726ed4fe74c4e1208e1514d391191985692e2..b92bd997e1fc14c76cd3a4aa9a8b900e932edd1f 100644 |
--- a/base/sequenced_task_runner.h |
+++ b/base/sequenced_task_runner.h |
@@ -6,6 +6,7 @@ |
#define BASE_SEQUENCED_TASK_RUNNER_H_ |
#include "base/base_export.h" |
+#include "base/callback.h" |
#include "base/sequenced_task_runner_helpers.h" |
#include "base/task_runner.h" |
@@ -109,11 +110,11 @@ class BASE_EXPORT SequencedTaskRunner : public TaskRunner { |
// below. |
bool PostNonNestableTask(const tracked_objects::Location& from_here, |
- const Closure& task); |
+ Closure task); |
virtual bool PostNonNestableDelayedTask( |
const tracked_objects::Location& from_here, |
- const Closure& task, |
+ Closure task, |
base::TimeDelta delay) = 0; |
// Submits a non-nestable task to delete the given object. Returns |