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

Side by Side Diff: cc/resources/resource_pool.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/resource_format.h ('k') | cc/resources/resource_provider.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_RESOURCE_POOL_H_ 5 #ifndef CC_RESOURCES_RESOURCE_POOL_H_
6 #define CC_RESOURCES_RESOURCE_POOL_H_ 6 #define CC_RESOURCES_RESOURCE_POOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <deque> 11 #include <deque>
12 #include <map> 12 #include <map>
13 #include <memory> 13 #include <memory>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/memory_coordinator_client.h" 16 #include "base/memory/memory_coordinator_client.h"
17 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
18 #include "base/trace_event/memory_dump_provider.h" 18 #include "base/trace_event/memory_dump_provider.h"
19 #include "cc/base/cc_export.h" 19 #include "cc/cc_export.h"
20 #include "cc/resources/resource.h" 20 #include "cc/resources/resource.h"
21 #include "cc/resources/resource_format.h" 21 #include "cc/resources/resource_format.h"
22 #include "cc/resources/scoped_resource.h" 22 #include "cc/resources/scoped_resource.h"
23 23
24 namespace cc { 24 namespace cc {
25 25
26 class CC_EXPORT ResourcePool : public base::trace_event::MemoryDumpProvider, 26 class CC_EXPORT ResourcePool : public base::trace_event::MemoryDumpProvider,
27 public base::MemoryCoordinatorClient { 27 public base::MemoryCoordinatorClient {
28 public: 28 public:
29 // Delay before a resource is considered expired. 29 // Delay before a resource is considered expired.
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 const base::TimeDelta resource_expiration_delay_; 188 const base::TimeDelta resource_expiration_delay_;
189 189
190 base::WeakPtrFactory<ResourcePool> weak_ptr_factory_; 190 base::WeakPtrFactory<ResourcePool> weak_ptr_factory_;
191 191
192 DISALLOW_COPY_AND_ASSIGN(ResourcePool); 192 DISALLOW_COPY_AND_ASSIGN(ResourcePool);
193 }; 193 };
194 194
195 } // namespace cc 195 } // namespace cc
196 196
197 #endif // CC_RESOURCES_RESOURCE_POOL_H_ 197 #endif // CC_RESOURCES_RESOURCE_POOL_H_
OLDNEW
« no previous file with comments | « cc/resources/resource_format.h ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698