Index: base/message_loop.h |
diff --git a/base/message_loop.h b/base/message_loop.h |
index 28ccd4eefa825460b9c3e20b50dc52d0e7c9d49b..18333e26b8b5d23e0c7ddb8bd59a70afc33890e4 100644 |
--- a/base/message_loop.h |
+++ b/base/message_loop.h |
@@ -168,12 +168,22 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate { |
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. |
// |
@@ -189,6 +199,11 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate { |
const tracked_objects::Location& from_here, |
const base::Closure& task, int64 delay_ms); |
+ void PostDelayedTask( |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task, |
+ base::TimeDelta delay); |
+ |
void PostNonNestableTask( |
const tracked_objects::Location& from_here, |
const base::Closure& task); |
@@ -197,6 +212,11 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate { |
const tracked_objects::Location& from_here, |
const base::Closure& task, int64 delay_ms); |
+ void PostNonNestableDelayedTask( |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task, |
+ base::TimeDelta delay); |
+ |
// A variant on PostTask that deletes the given object. This is useful |
// if the object needs to live until the next run of the MessageLoop (for |
// example, deleting a RenderProcessHost from within an IPC callback is not |