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

Side by Side Diff: cc/resources/scoped_resource.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 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
« no previous file with comments | « cc/resources/returned_resource.h ('k') | cc/resources/scoped_ui_resource.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CC_RESOURCES_SCOPED_RESOURCE_H_ 5 #ifndef CC_RESOURCES_SCOPED_RESOURCE_H_
6 #define CC_RESOURCES_SCOPED_RESOURCE_H_ 6 #define CC_RESOURCES_SCOPED_RESOURCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "cc/base/cc_export.h" 13 #include "cc/cc_export.h"
14 #include "cc/resources/resource.h" 14 #include "cc/resources/resource.h"
15 15
16 #if DCHECK_IS_ON() 16 #if DCHECK_IS_ON()
17 #include "base/threading/platform_thread.h" 17 #include "base/threading/platform_thread.h"
18 #endif 18 #endif
19 19
20 namespace cc { 20 namespace cc {
21 21
22 class CC_EXPORT ScopedResource : public Resource { 22 class CC_EXPORT ScopedResource : public Resource {
23 public: 23 public:
(...skipping 16 matching lines...) Expand all
40 #if DCHECK_IS_ON() 40 #if DCHECK_IS_ON()
41 base::PlatformThreadId allocate_thread_id_; 41 base::PlatformThreadId allocate_thread_id_;
42 #endif 42 #endif
43 43
44 DISALLOW_COPY_AND_ASSIGN(ScopedResource); 44 DISALLOW_COPY_AND_ASSIGN(ScopedResource);
45 }; 45 };
46 46
47 } // namespace cc 47 } // namespace cc
48 48
49 #endif // CC_RESOURCES_SCOPED_RESOURCE_H_ 49 #endif // CC_RESOURCES_SCOPED_RESOURCE_H_
OLDNEW
« no previous file with comments | « cc/resources/returned_resource.h ('k') | cc/resources/scoped_ui_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698