OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ZERO_COPY_TILE_TASK_WORKER_POOL_H_ | 5 #ifndef CC_RESOURCES_ZERO_COPY_TILE_TASK_WORKER_POOL_H_ |
6 #define CC_RESOURCES_ZERO_COPY_TILE_TASK_WORKER_POOL_H_ | 6 #define CC_RESOURCES_ZERO_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/values.h" | 9 #include "base/values.h" |
10 #include "cc/resources/tile_task_runner.h" | 10 #include "cc/resources/tile_task_runner.h" |
11 #include "cc/resources/tile_task_worker_pool.h" | 11 #include "cc/resources/tile_task_worker_pool.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 namespace trace_event { | |
15 class ConvertableToTraceFormat; | |
16 } | |
14 namespace debug { | 17 namespace debug { |
15 class ConvertableToTraceFormat; | 18 using ::base::trace_event::ConvertableToTraceFormat; |
Primiano Tucci (use gerrit)
2015/01/27 14:34:11
nit: blankline
| |
16 } | 19 } |
17 } | 20 } |
18 | 21 |
19 namespace cc { | 22 namespace cc { |
20 class ResourceProvider; | 23 class ResourceProvider; |
21 | 24 |
22 class CC_EXPORT ZeroCopyTileTaskWorkerPool : public TileTaskWorkerPool, | 25 class CC_EXPORT ZeroCopyTileTaskWorkerPool : public TileTaskWorkerPool, |
23 public TileTaskRunner, | 26 public TileTaskRunner, |
24 public TileTaskClient { | 27 public TileTaskClient { |
25 public: | 28 public: |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
71 | 74 |
72 base::WeakPtrFactory<ZeroCopyTileTaskWorkerPool> | 75 base::WeakPtrFactory<ZeroCopyTileTaskWorkerPool> |
73 task_set_finished_weak_ptr_factory_; | 76 task_set_finished_weak_ptr_factory_; |
74 | 77 |
75 DISALLOW_COPY_AND_ASSIGN(ZeroCopyTileTaskWorkerPool); | 78 DISALLOW_COPY_AND_ASSIGN(ZeroCopyTileTaskWorkerPool); |
76 }; | 79 }; |
77 | 80 |
78 } // namespace cc | 81 } // namespace cc |
79 | 82 |
80 #endif // CC_RESOURCES_ZERO_COPY_TILE_TASK_WORKER_POOL_H_ | 83 #endif // CC_RESOURCES_ZERO_COPY_TILE_TASK_WORKER_POOL_H_ |
OLD | NEW |