OLD | NEW |
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_RESOURCE_POOL_H_ | 5 #ifndef CC_RESOURCE_POOL_H_ |
6 #define CC_RESOURCE_POOL_H_ | 6 #define CC_RESOURCE_POOL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "cc/cc_export.h" | 11 #include "cc/base/cc_export.h" |
12 #include "cc/renderer.h" | 12 #include "cc/renderer.h" |
13 #include "cc/resource.h" | 13 #include "cc/resource.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 class ResourceProvider; | 16 class ResourceProvider; |
17 | 17 |
18 class CC_EXPORT ResourcePool { | 18 class CC_EXPORT ResourcePool { |
19 public: | 19 public: |
20 class CC_EXPORT Resource : public cc::Resource { | 20 class CC_EXPORT Resource : public cc::Resource { |
21 public: | 21 public: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 typedef std::list<Resource*> ResourceList; | 55 typedef std::list<Resource*> ResourceList; |
56 ResourceList resources_; | 56 ResourceList resources_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(ResourcePool); | 58 DISALLOW_COPY_AND_ASSIGN(ResourcePool); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
62 | 62 |
63 #endif // CC_RESOURCE_POOL_H_ | 63 #endif // CC_RESOURCE_POOL_H_ |
OLD | NEW |