Chromium Code Reviews| Index: base/message_loop_proxy_impl.h |
| diff --git a/base/message_loop_proxy_impl.h b/base/message_loop_proxy_impl.h |
| index 80d9a2628d546ca3fc26a2c5d3aea15b372f4e9d..8bd265fecb974a3aa85e710c6b3c1061986b763f 100644 |
| --- a/base/message_loop_proxy_impl.h |
| +++ b/base/message_loop_proxy_impl.h |
| @@ -32,6 +32,16 @@ class BASE_API MessageLoopProxyImpl : public MessageLoopProxy, |
| const tracked_objects::Location& from_here, |
| Task* task, |
| int64 delay_ms); |
| + virtual bool PostTask(const tracked_objects::Location& from_here, |
| + const base::Closure& task); |
| + virtual bool PostDelayedTask(const tracked_objects::Location& from_here, |
| + const base::Closure& task, int64 delay_ms); |
|
willchan no longer on Chromium
2011/07/08 12:04:21
|delay_ms| to next line.
awong
2011/07/08 18:36:51
Done.
|
| + virtual bool PostNonNestableTask(const tracked_objects::Location& from_here, |
| + const base::Closure& task); |
| + virtual bool PostNonNestableDelayedTask( |
| + const tracked_objects::Location& from_here, |
| + const base::Closure& task, |
| + int64 delay_ms); |
| virtual bool BelongsToCurrentThread(); |
| // MessageLoop::DestructionObserver implementation |
| @@ -44,8 +54,12 @@ class BASE_API MessageLoopProxyImpl : public MessageLoopProxy, |
| private: |
| MessageLoopProxyImpl(); |
| + // TODO(ajwong): Remove this after we've fully migrated to base::Closure. |
| bool PostTaskHelper(const tracked_objects::Location& from_here, |
| Task* task, int64 delay_ms, bool nestable); |
| + bool PostTaskHelper(const tracked_objects::Location& from_here, |
| + const base::Closure& task, int64 delay_ms, |
|
willchan no longer on Chromium
2011/07/08 12:04:21
|delay_ms| to next line
awong
2011/07/08 18:36:51
Done.
|
| + bool nestable); |
| // For the factory method to work |
| friend class MessageLoopProxy; |
| @@ -60,4 +74,3 @@ class BASE_API MessageLoopProxyImpl : public MessageLoopProxy, |
| } // namespace base |
| #endif // BASE_MESSAGE_LOOP_PROXY_IMPL_H_ |
| - |