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_BITMAP_TILE_TASK_WORKER_POOL_H_ | 5 #ifndef CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_ |
6 #define CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_ | 6 #define CC_RESOURCES_BITMAP_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 debug { | 14 namespace trace_event { |
15 class ConvertableToTraceFormat; | 15 class ConvertableToTraceFormat; |
16 } | 16 } |
| 17 |
| 18 // This is added temporarily. Once the renaming of namespace usages |
| 19 // accross all folders are done, this will be removed. |
| 20 // TODO(ssid): crrev.com/837303004 |
| 21 namespace debug { |
| 22 using ::base::trace_event::ConvertableToTraceFormat; |
17 } | 23 } |
| 24 } // namespace base |
18 | 25 |
19 namespace cc { | 26 namespace cc { |
20 class ResourceProvider; | 27 class ResourceProvider; |
21 | 28 |
22 class CC_EXPORT BitmapTileTaskWorkerPool : public TileTaskWorkerPool, | 29 class CC_EXPORT BitmapTileTaskWorkerPool : public TileTaskWorkerPool, |
23 public TileTaskRunner, | 30 public TileTaskRunner, |
24 public TileTaskClient { | 31 public TileTaskClient { |
25 public: | 32 public: |
26 ~BitmapTileTaskWorkerPool() override; | 33 ~BitmapTileTaskWorkerPool() override; |
27 | 34 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 78 |
72 base::WeakPtrFactory<BitmapTileTaskWorkerPool> | 79 base::WeakPtrFactory<BitmapTileTaskWorkerPool> |
73 task_set_finished_weak_ptr_factory_; | 80 task_set_finished_weak_ptr_factory_; |
74 | 81 |
75 DISALLOW_COPY_AND_ASSIGN(BitmapTileTaskWorkerPool); | 82 DISALLOW_COPY_AND_ASSIGN(BitmapTileTaskWorkerPool); |
76 }; | 83 }; |
77 | 84 |
78 } // namespace cc | 85 } // namespace cc |
79 | 86 |
80 #endif // CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_ | 87 #endif // CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_ |
OLD | NEW |