Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: base/message_loop/message_loop_proxy_impl.cc

Issue 13333003: Create a new base/message_loop directory and move the message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « base/message_loop/message_loop_proxy_impl.h ('k') | base/message_loop/message_loop_proxy_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698