Chromium Code Reviews| Index: base/threading/post_task_and_reply_impl.cc |
| diff --git a/base/message_loop_proxy.cc b/base/threading/post_task_and_reply_impl.cc |
| similarity index 90% |
| copy from base/message_loop_proxy.cc |
| copy to base/threading/post_task_and_reply_impl.cc |
| index c8217042fe6a540c2df3309d59a3caf7c1a389a2..7b10b565042b371005aceafde6338094f4eedbdf 100644 |
| --- a/base/message_loop_proxy.cc |
| +++ b/base/threading/post_task_and_reply_impl.cc |
| @@ -2,10 +2,9 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "base/message_loop_proxy.h" |
| +#include "base/threading/post_task_and_reply_impl.h" |
| -#include "base/bind.h" |
| -#include "base/location.h" |
| +#include "base/message_loop_proxy.h" |
|
awong
2011/10/05 17:27:01
Add #include bind.h and location.h for IWYU.
Jói
2011/10/06 14:20:31
Done.
|
| namespace base { |
| @@ -67,13 +66,7 @@ class PostTaskAndReplyRelay { |
| } // namespace |
| -MessageLoopProxy::MessageLoopProxy() { |
| -} |
| - |
| -MessageLoopProxy::~MessageLoopProxy() { |
| -} |
| - |
| -bool MessageLoopProxy::PostTaskAndReply( |
| +bool PostTaskAndReplyImpl::PostTaskAndReply( |
| const tracked_objects::Location& from_here, |
| const Closure& task, |
| const Closure& reply) { |
| @@ -88,8 +81,4 @@ bool MessageLoopProxy::PostTaskAndReply( |
| return true; |
| } |
| -void MessageLoopProxy::OnDestruct() const { |
| - delete this; |
| -} |
| - |
| } // namespace base |