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

Side by Side Diff: cc/base/thread_impl.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 "cc/thread_impl.h" 5 #include "cc/base/thread_impl.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 8
9 namespace cc { 9 namespace cc {
10 10
11 scoped_ptr<Thread> ThreadImpl::createForCurrentThread() 11 scoped_ptr<Thread> ThreadImpl::createForCurrentThread()
12 { 12 {
13 return scoped_ptr<Thread>(new ThreadImpl(base::MessageLoopProxy::current())) .Pass(); 13 return scoped_ptr<Thread>(new ThreadImpl(base::MessageLoopProxy::current())) .Pass();
14 } 14 }
15 15
(...skipping 20 matching lines...) Expand all
36 { 36 {
37 return m_thread->BelongsToCurrentThread(); 37 return m_thread->BelongsToCurrentThread();
38 } 38 }
39 39
40 ThreadImpl::ThreadImpl(scoped_refptr<base::MessageLoopProxy> thread) 40 ThreadImpl::ThreadImpl(scoped_refptr<base::MessageLoopProxy> thread)
41 : m_thread(thread) 41 : m_thread(thread)
42 { 42 {
43 } 43 }
44 44
45 } // namespace cc 45 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/thread_impl.h ('k') | cc/base/tiling_data.h » ('j') | cc/cc.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698