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 #include "cc/resources/bitmap_tile_task_worker_pool.h" | 5 #include "cc/resources/bitmap_tile_task_worker_pool.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/debug/trace_event.h" | |
10 #include "base/debug/trace_event_argument.h" | |
11 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "base/trace_event/trace_event.h" |
| 11 #include "base/trace_event/trace_event_argument.h" |
12 #include "cc/debug/traced_value.h" | 12 #include "cc/debug/traced_value.h" |
13 #include "cc/resources/raster_buffer.h" | 13 #include "cc/resources/raster_buffer.h" |
14 #include "cc/resources/raster_source.h" | 14 #include "cc/resources/raster_source.h" |
15 #include "cc/resources/resource.h" | 15 #include "cc/resources/resource.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 namespace { | 18 namespace { |
19 | 19 |
20 class RasterBufferImpl : public RasterBuffer { | 20 class RasterBufferImpl : public RasterBuffer { |
21 public: | 21 public: |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 new base::debug::TracedValue(); | 192 new base::debug::TracedValue(); |
193 | 193 |
194 state->BeginArray("tasks_pending"); | 194 state->BeginArray("tasks_pending"); |
195 for (TaskSet task_set = 0; task_set < kNumberOfTaskSets; ++task_set) | 195 for (TaskSet task_set = 0; task_set < kNumberOfTaskSets; ++task_set) |
196 state->AppendBoolean(tasks_pending_[task_set]); | 196 state->AppendBoolean(tasks_pending_[task_set]); |
197 state->EndArray(); | 197 state->EndArray(); |
198 return state; | 198 return state; |
199 } | 199 } |
200 | 200 |
201 } // namespace cc | 201 } // namespace cc |
OLD | NEW |