Index: base/message_loop_proxy_impl.cc |
diff --git a/base/message_loop_proxy_impl.cc b/base/message_loop_proxy_impl.cc |
index b8269166c6517213c9ed0e44c0db450a0253adc3..00fe0bd052b41307f8cb540bb442b4b19d3297a9 100644 |
--- a/base/message_loop_proxy_impl.cc |
+++ b/base/message_loop_proxy_impl.cc |
@@ -12,29 +12,6 @@ namespace base { |
MessageLoopProxyImpl::~MessageLoopProxyImpl() { |
} |
- // MessageLoopProxy implementation |
-bool MessageLoopProxyImpl::PostTask(const tracked_objects::Location& from_here, |
- Task* task) { |
- return PostTaskHelper(from_here, task, 0, true); |
-} |
- |
-bool MessageLoopProxyImpl::PostDelayedTask( |
- const tracked_objects::Location& from_here, Task* task, int64 delay_ms) { |
- return PostTaskHelper(from_here, task, delay_ms, true); |
-} |
- |
-bool MessageLoopProxyImpl::PostNonNestableTask( |
- const tracked_objects::Location& from_here, Task* task) { |
- return PostTaskHelper(from_here, task, 0, false); |
-} |
- |
-bool MessageLoopProxyImpl::PostNonNestableDelayedTask( |
- const tracked_objects::Location& from_here, |
- Task* task, |
- int64 delay_ms) { |
- return PostTaskHelper(from_here, task, delay_ms, false); |
-} |
- |
bool MessageLoopProxyImpl::PostTask(const tracked_objects::Location& from_here, |
const base::Closure& task) { |
return PostTaskHelper(from_here, task, 0, true); |
@@ -100,27 +77,6 @@ MessageLoopProxyImpl::MessageLoopProxyImpl() |
} |
bool MessageLoopProxyImpl::PostTaskHelper( |
- const tracked_objects::Location& from_here, Task* task, int64 delay_ms, |
- bool nestable) { |
- bool ret = false; |
- { |
- AutoLock lock(message_loop_lock_); |
- if (target_message_loop_) { |
- if (nestable) { |
- target_message_loop_->PostDelayedTask(from_here, task, delay_ms); |
- } else { |
- target_message_loop_->PostNonNestableDelayedTask(from_here, task, |
- delay_ms); |
- } |
- ret = true; |
- } |
- } |
- if (!ret) |
- delete task; |
- return ret; |
-} |
- |
-bool MessageLoopProxyImpl::PostTaskHelper( |
const tracked_objects::Location& from_here, const base::Closure& task, |
int64 delay_ms, bool nestable) { |
AutoLock lock(message_loop_lock_); |