OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 5 #ifndef CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
6 #define CC_RESOURCES_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 6 #define CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "cc/base/scoped_ptr_deque.h" | 11 #include "cc/base/scoped_ptr_deque.h" |
12 #include "cc/output/context_provider.h" | 12 #include "cc/output/context_provider.h" |
| 13 #include "cc/raster/tile_task_runner.h" |
| 14 #include "cc/raster/tile_task_worker_pool.h" |
13 #include "cc/resources/resource_provider.h" | 15 #include "cc/resources/resource_provider.h" |
14 #include "cc/resources/tile_task_runner.h" | |
15 #include "cc/resources/tile_task_worker_pool.h" | |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 namespace trace_event { | 18 namespace trace_event { |
19 class ConvertableToTraceFormat; | 19 class ConvertableToTraceFormat; |
20 class TracedValue; | 20 class TracedValue; |
21 } | 21 } |
22 } | 22 } |
23 | 23 |
24 namespace cc { | 24 namespace cc { |
25 class ResourcePool; | 25 class ResourcePool; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // "raster finished" tasks need their own factory as they need to be | 134 // "raster finished" tasks need their own factory as they need to be |
135 // canceled when ScheduleTasks() is called. | 135 // canceled when ScheduleTasks() is called. |
136 base::WeakPtrFactory<OneCopyTileTaskWorkerPool> | 136 base::WeakPtrFactory<OneCopyTileTaskWorkerPool> |
137 task_set_finished_weak_ptr_factory_; | 137 task_set_finished_weak_ptr_factory_; |
138 | 138 |
139 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); | 139 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); |
140 }; | 140 }; |
141 | 141 |
142 } // namespace cc | 142 } // namespace cc |
143 | 143 |
144 #endif // CC_RESOURCES_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 144 #endif // CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
OLD | NEW |