summaryrefslogtreecommitdiffstats
path: root/base/threading/worker_pool.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 02:18:18 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 02:18:18 +0000
commite7b3a61984f86ccb238664542699c3b8a75b54c6 (patch)
treea75e7830c5fa93c5af7bcebf0c60485513ce6a1e /base/threading/worker_pool.h
parent9c66adca4f62f3b85593068aea30cf1568690987 (diff)
downloadchromium_src-e7b3a61984f86ccb238664542699c3b8a75b54c6.zip
chromium_src-e7b3a61984f86ccb238664542699c3b8a75b54c6.tar.gz
chromium_src-e7b3a61984f86ccb238664542699c3b8a75b54c6.tar.bz2
base::Bind: Remove Task.
BUG=none TEST=none R=awong Review URL: http://codereview.chromium.org/9086002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading/worker_pool.h')
-rw-r--r--base/threading/worker_pool.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/base/threading/worker_pool.h b/base/threading/worker_pool.h
index 0db6122..6694830 100644
--- a/base/threading/worker_pool.h
+++ b/base/threading/worker_pool.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -31,11 +31,6 @@ class BASE_EXPORT WorkerPool {
// should be used for tasks that will take a long time to execute. Returns
// false if |task| could not be posted to a worker thread. Regardless of
// return value, ownership of |task| is transferred to the worker pool.
- //
- // TODO(ajwong): Remove the Task* based overload once we've finished the
- // Task -> Closure migration.
- static bool PostTask(const tracked_objects::Location& from_here,
- Task* task, bool task_is_slow);
static bool PostTask(const tracked_objects::Location& from_here,
const base::Closure& task, bool task_is_slow);