| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/message_loop_proxy_impl.h" | 5 #include "base/message_loop/message_loop_proxy_impl.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/threading/thread_restrictions.h" | 8 #include "base/threading/thread_restrictions.h" |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 | 11 |
| 12 MessageLoopProxyImpl::~MessageLoopProxyImpl() { | 12 MessageLoopProxyImpl::~MessageLoopProxyImpl() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 bool MessageLoopProxyImpl::PostDelayedTask( | 15 bool MessageLoopProxyImpl::PostDelayedTask( |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 scoped_refptr<MessageLoopProxy> | 84 scoped_refptr<MessageLoopProxy> |
| 85 MessageLoopProxy::current() { | 85 MessageLoopProxy::current() { |
| 86 MessageLoop* cur_loop = MessageLoop::current(); | 86 MessageLoop* cur_loop = MessageLoop::current(); |
| 87 if (!cur_loop) | 87 if (!cur_loop) |
| 88 return NULL; | 88 return NULL; |
| 89 return cur_loop->message_loop_proxy(); | 89 return cur_loop->message_loop_proxy(); |
| 90 } | 90 } |
| 91 | 91 |
| 92 } // namespace base | 92 } // namespace base |
| OLD | NEW |