Chromium Code Reviews| Index: base/message_loop.h |
| diff --git a/base/message_loop.h b/base/message_loop.h |
| index 2f66d26889fc4a1bdec3a7e157816c69a2385c8a..194de5aec6c8f5f2906cfb0508e97f97df59aaf1 100644 |
| --- a/base/message_loop.h |
| +++ b/base/message_loop.h |
| @@ -162,36 +162,6 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate { |
| // |
| // NOTE: These methods may be called on any thread. The Task will be invoked |
| // on the thread that executes MessageLoop::Run(). |
| - |
| - void PostTask( |
| - const tracked_objects::Location& from_here, Task* task); |
| - |
| - void PostDelayedTask( |
| - const tracked_objects::Location& from_here, Task* task, int64 delay_ms); |
| - |
| - void PostDelayedTask( |
| - const tracked_objects::Location& from_here, |
| - Task* task, |
| - base::TimeDelta delay); |
| - |
| - void PostNonNestableTask( |
| - const tracked_objects::Location& from_here, Task* task); |
| - |
| - void PostNonNestableDelayedTask( |
| - const tracked_objects::Location& from_here, Task* task, int64 delay_ms); |
| - |
| - void PostNonNestableDelayedTask( |
| - const tracked_objects::Location& from_here, |
| - Task* task, |
| - base::TimeDelta delay); |
| - |
| - // TODO(ajwong): Remove the functions above once the Task -> Closure migration |
| - // is complete. |
| - // |
| - // There are 2 sets of Post*Task functions, one which takes the older Task* |
| - // function object representation, and one that takes the newer base::Closure. |
| - // We have this overload to allow a staged transition between the two systems. |
| - // Once the transition is done, the functions above should be deleted. |
|
awong
2012/01/04 02:17:28
oh this looks so nice...
|
| void PostTask( |
| const tracked_objects::Location& from_here, |
| const base::Closure& task); |