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

Side by Side Diff: cc/scoped_thread_proxy.h

Issue 11368063: cc: Fix header include guards of our header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 | « cc/scoped_texture.h ('k') | cc/scrollbar_animation_controller.h » ('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 CCScopedThreadProxy_h 5 #ifndef CC_SCOPED_THREAD_PROXY_H_
6 #define CCScopedThreadProxy_h 6 #define CC_SCOPED_THREAD_PROXY_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "cc/cc_export.h" 10 #include "cc/cc_export.h"
11 #include "cc/thread.h" 11 #include "cc/thread.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
(...skipping 27 matching lines...) Expand all
44 ~ScopedThreadProxy(); 44 ~ScopedThreadProxy();
45 45
46 void runTaskIfNotShutdown(base::Closure cb); 46 void runTaskIfNotShutdown(base::Closure cb);
47 47
48 cc::Thread* m_targetThread; 48 cc::Thread* m_targetThread;
49 bool m_shutdown; // Only accessed on the target thread 49 bool m_shutdown; // Only accessed on the target thread
50 }; 50 };
51 51
52 } // namespace cc 52 } // namespace cc
53 53
54 #endif 54 #endif // CC_SCOPED_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/scoped_texture.h ('k') | cc/scrollbar_animation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698