Chromium Code Reviews| 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_RESOURCES_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
| 6 #define CC_RESOURCES_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 6 #define CC_RESOURCES_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/resources/resource_provider.h" | 13 #include "cc/resources/resource_provider.h" |
| 14 #include "cc/resources/tile_task_runner.h" | 14 #include "cc/resources/tile_task_runner.h" |
| 15 #include "cc/resources/tile_task_worker_pool.h" | 15 #include "cc/resources/tile_task_worker_pool.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 namespace debug { | 18 namespace trace_event { |
| 19 class ConvertableToTraceFormat; | 19 class ConvertableToTraceFormat; |
| 20 class TracedValue; | 20 class TracedValue; |
| 21 } | 21 } |
| 22 namespace debug { | |
|
Primiano Tucci (use gerrit)
2015/01/27 14:34:11
Nit: blankline
| |
| 23 using ::base::trace_event::ConvertableToTraceFormat; | |
| 24 using ::base::trace_event::TracedValue; | |
| 25 } | |
| 22 } | 26 } |
| 23 | 27 |
| 24 namespace cc { | 28 namespace cc { |
| 25 class ResourcePool; | 29 class ResourcePool; |
| 26 class ScopedResource; | 30 class ScopedResource; |
| 27 | 31 |
| 28 typedef int64 CopySequenceNumber; | 32 typedef int64 CopySequenceNumber; |
| 29 | 33 |
| 30 class CC_EXPORT OneCopyTileTaskWorkerPool : public TileTaskWorkerPool, | 34 class CC_EXPORT OneCopyTileTaskWorkerPool : public TileTaskWorkerPool, |
| 31 public TileTaskRunner, | 35 public TileTaskRunner, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 133 // canceled when ScheduleTasks() is called. | 137 // canceled when ScheduleTasks() is called. |
| 134 base::WeakPtrFactory<OneCopyTileTaskWorkerPool> | 138 base::WeakPtrFactory<OneCopyTileTaskWorkerPool> |
| 135 task_set_finished_weak_ptr_factory_; | 139 task_set_finished_weak_ptr_factory_; |
| 136 | 140 |
| 137 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); | 141 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); |
| 138 }; | 142 }; |
| 139 | 143 |
| 140 } // namespace cc | 144 } // namespace cc |
| 141 | 145 |
| 142 #endif // CC_RESOURCES_ONE_COPY_TILE_TASK_WORKER_POOL_H_ | 146 #endif // CC_RESOURCES_ONE_COPY_TILE_TASK_WORKER_POOL_H_ |
| OLD | NEW |