Index: content/browser/browser_thread_impl.cc |
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc |
index f0aab01f562a5739f13fd9d5f02b04897ce83980..bedf89f9d96c2a0edd42bfa2251b9b01eba46bcc 100644 |
--- a/content/browser/browser_thread_impl.cc |
+++ b/content/browser/browser_thread_impl.cc |
@@ -190,6 +190,11 @@ class BrowserThreadMessageLoopProxy : public base::MessageLoopProxy { |
const base::Closure& task, int64 delay_ms) OVERRIDE{ |
return BrowserThread::PostDelayedTask(id_, from_here, task, delay_ms); |
} |
+ virtual bool PostDelayedTask( |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task, base::TimeDelta delay) OVERRIDE{ |
jar (doing other things)
2012/02/25 02:00:22
nits: space before the curly. Probably one argume
|
+ return BrowserThread::PostDelayedTask(id_, from_here, task, delay); |
+ } |
virtual bool PostNonNestableDelayedTask( |
const tracked_objects::Location& from_here, |
@@ -198,6 +203,13 @@ class BrowserThreadMessageLoopProxy : public base::MessageLoopProxy { |
return BrowserThread::PostNonNestableDelayedTask(id_, from_here, task, |
delay_ms); |
} |
+ virtual bool PostNonNestableDelayedTask( |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task, |
+ base::TimeDelta delay) OVERRIDE { |
+ return BrowserThread::PostNonNestableDelayedTask(id_, from_here, task, |
+ delay); |
+ } |
virtual bool RunsTasksOnCurrentThread() const OVERRIDE { |
return BrowserThread::CurrentlyOn(id_); |
@@ -279,6 +291,15 @@ bool BrowserThread::PostDelayedTask(ID identifier, |
} |
// static |
+bool BrowserThread::PostDelayedTask(ID identifier, |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task, |
+ base::TimeDelta delay) { |
+ return BrowserThreadImpl::PostTaskHelper( |
+ identifier, from_here, task, delay.InMilliseconds(), true); |
jar (doing other things)
2012/02/25 02:00:22
I was a bit surprised you converted to ms here, an
|
+} |
+ |
+// static |
bool BrowserThread::PostNonNestableTask( |
ID identifier, |
const tracked_objects::Location& from_here, |
@@ -298,6 +319,16 @@ bool BrowserThread::PostNonNestableDelayedTask( |
} |
// static |
+bool BrowserThread::PostNonNestableDelayedTask( |
+ ID identifier, |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task, |
+ base::TimeDelta delay) { |
+ return BrowserThreadImpl::PostTaskHelper( |
+ identifier, from_here, task, delay.InMilliseconds(), false); |
+} |
+ |
+// static |
bool BrowserThread::PostTaskAndReply( |
ID identifier, |
const tracked_objects::Location& from_here, |