Index: base/task_runner.h |
=================================================================== |
--- base/task_runner.h (revision 140108) |
+++ base/task_runner.h (working copy) |
@@ -72,8 +72,13 @@ |
// |
// It is valid for an implementation to ignore |delay_ms|; that is, |
// to have PostDelayedTask behave the same as PostTask. |
+ // |
+ // TODO(tedv): Make PostDelayedTask use TimeDelta instead. |
virtual bool PostDelayedTask(const tracked_objects::Location& from_here, |
const Closure& task, |
+ int64 delay_ms) = 0; |
+ virtual bool PostDelayedTask(const tracked_objects::Location& from_here, |
+ const Closure& task, |
base::TimeDelta delay) = 0; |
// Returns true if the current thread is a thread on which a task |