| 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_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 5 #ifndef CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
| 6 #define CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 6 #define CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <deque> | 10 #include <deque> |
| 9 #include <set> | 11 #include <set> |
| 10 | 12 |
| 13 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 12 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
| 13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 14 #include "base/trace_event/memory_dump_provider.h" | 17 #include "base/trace_event/memory_dump_provider.h" |
| 15 #include "base/values.h" | 18 #include "base/values.h" |
| 16 #include "cc/output/context_provider.h" | 19 #include "cc/output/context_provider.h" |
| 17 #include "cc/raster/tile_task_runner.h" | 20 #include "cc/raster/tile_task_runner.h" |
| 18 #include "cc/raster/tile_task_worker_pool.h" | 21 #include "cc/raster/tile_task_worker_pool.h" |
| 19 #include "cc/resources/resource_provider.h" | 22 #include "cc/resources/resource_provider.h" |
| 20 | 23 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 base::Closure reduce_memory_usage_callback_; | 160 base::Closure reduce_memory_usage_callback_; |
| 158 | 161 |
| 159 base::WeakPtrFactory<OneCopyTileTaskWorkerPool> weak_ptr_factory_; | 162 base::WeakPtrFactory<OneCopyTileTaskWorkerPool> weak_ptr_factory_; |
| 160 | 163 |
| 161 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); | 164 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); |
| 162 }; | 165 }; |
| 163 | 166 |
| 164 } // namespace cc | 167 } // namespace cc |
| 165 | 168 |
| 166 #endif // CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 169 #endif // CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
| OLD | NEW |