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

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

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « base/threading/thread.h ('k') | chrome/renderer/media/webrtc_logging_handler_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CC_BASE_THREAD_IMPL_H_ 5 #ifndef CC_BASE_THREAD_IMPL_H_
6 #define CC_BASE_THREAD_IMPL_H_ 6 #define CC_BASE_THREAD_IMPL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "cc/base/thread.h" 12 #include "cc/base/thread.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 // Implements cc::Thread in terms of base::MessageLoopProxy. 16 // Implements cc::Thread in terms of base::MessageLoopProxy.
17 class CC_EXPORT ThreadImpl : public Thread { 17 class CC_EXPORT ThreadImpl : public Thread {
18 public: 18 public:
19 // Creates a ThreadImpl wrapping the current thread. 19 // Creates a ThreadImpl wrapping the current thread.
20 static scoped_ptr<cc::Thread> CreateForCurrentThread(); 20 static scoped_ptr<cc::Thread> CreateForCurrentThread();
(...skipping 13 matching lines...) Expand all
34 explicit ThreadImpl(scoped_refptr<base::MessageLoopProxy> thread); 34 explicit ThreadImpl(scoped_refptr<base::MessageLoopProxy> thread);
35 35
36 scoped_refptr<base::MessageLoopProxy> thread_; 36 scoped_refptr<base::MessageLoopProxy> thread_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(ThreadImpl); 38 DISALLOW_COPY_AND_ASSIGN(ThreadImpl);
39 }; 39 };
40 40
41 } // namespace cc 41 } // namespace cc
42 42
43 #endif // CC_BASE_THREAD_IMPL_H_ 43 #endif // CC_BASE_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « base/threading/thread.h ('k') | chrome/renderer/media/webrtc_logging_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698