Index: base/task.cc |
diff --git a/base/task.cc b/base/task.cc |
index 89d2aa80e7fbb599113e6d6efd4fe5feb9e310ae..38ac08660baed3bca9b1d2071b8bef02b85af73f 100644 |
--- a/base/task.cc |
+++ b/base/task.cc |
@@ -10,30 +10,8 @@ Task::Task() { |
Task::~Task() { |
} |
-CancelableTask::CancelableTask() { |
-} |
- |
-CancelableTask::~CancelableTask() { |
-} |
- |
namespace base { |
-ScopedTaskRunner::ScopedTaskRunner(Task* task) : task_(task) { |
-} |
- |
-ScopedTaskRunner::~ScopedTaskRunner() { |
- if (task_) { |
- task_->Run(); |
- delete task_; |
- } |
-} |
- |
-Task* ScopedTaskRunner::Release() { |
- Task* tmp = task_; |
- task_ = NULL; |
- return tmp; |
-} |
- |
ScopedClosureRunner::ScopedClosureRunner(const Closure& closure) |
: closure_(closure) { |
} |