summaryrefslogtreecommitdiff
path: root/base/threading/worker_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/threading/worker_pool.h')
-rw-r--r--base/threading/worker_pool.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/base/threading/worker_pool.h b/base/threading/worker_pool.h
index a52a41428b..865948e437 100644
--- a/base/threading/worker_pool.h
+++ b/base/threading/worker_pool.h
@@ -6,11 +6,9 @@
#define BASE_THREADING_WORKER_POOL_H_
#include "base/base_export.h"
-#include "base/callback_forward.h"
+#include "base/callback.h"
#include "base/memory/ref_counted.h"
-class Task;
-
namespace tracked_objects {
class Location;
} // namespace tracked_objects
@@ -40,8 +38,8 @@ class BASE_EXPORT WorkerPool {
// for |task| is a worker thread and you can specify |task_is_slow| just
// like you can for PostTask above.
static bool PostTaskAndReply(const tracked_objects::Location& from_here,
- const Closure& task,
- const Closure& reply,
+ Closure task,
+ Closure reply,
bool task_is_slow);
// Return true if the current thread is one that this WorkerPool runs tasks