Index: base/message_loop.h |
diff --git a/base/message_loop.h b/base/message_loop.h |
index a5a94bc0314e8105cccfed852570ed761dc049cd..176916d45fa5cbb39d32f4ae78ac892688f5b279 100644 |
--- a/base/message_loop.h |
+++ b/base/message_loop.h |
@@ -15,6 +15,7 @@ |
#include "base/observer_list.h" |
#include "base/ref_counted.h" |
#include "base/task.h" |
+#include "base/closure.h" |
#if defined(OS_WIN) |
// We need this to declare base::MessagePumpWin::Dispatcher, which we should |
@@ -127,12 +128,19 @@ class 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 PostClosure( |
+ const tracked_objects::Location& from_here, base::Closure closure); |
+ |
void PostTask( |
const tracked_objects::Location& from_here, Task* task); |
void PostDelayedTask( |
const tracked_objects::Location& from_here, Task* task, int64 delay_ms); |
+ void PostDelayedClosure( |
+ const tracked_objects::Location& from_here, base::Closure closure, |
+ int64 delay_ms); |
+ |
void PostNonNestableTask( |
const tracked_objects::Location& from_here, Task* task); |