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_PLAYBACK_RASTER_SOURCE_H_ | 5 #ifndef CC_PLAYBACK_RASTER_SOURCE_H_ |
6 #define CC_PLAYBACK_RASTER_SOURCE_H_ | 6 #define CC_PLAYBACK_RASTER_SOURCE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
| 10 #include <memory> |
10 #include <vector> | 11 #include <vector> |
11 | 12 |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
15 #include "base/trace_event/memory_allocator_dump.h" | 15 #include "base/trace_event/memory_allocator_dump.h" |
16 #include "base/trace_event/memory_dump_provider.h" | 16 #include "base/trace_event/memory_dump_provider.h" |
17 #include "cc/base/cc_export.h" | 17 #include "cc/base/cc_export.h" |
18 #include "cc/debug/rendering_stats_instrumentation.h" | 18 #include "cc/debug/rendering_stats_instrumentation.h" |
19 #include "cc/playback/recording_source.h" | 19 #include "cc/playback/recording_source.h" |
20 #include "skia/ext/analysis_canvas.h" | 20 #include "skia/ext/analysis_canvas.h" |
21 #include "third_party/skia/include/core/SkPicture.h" | 21 #include "third_party/skia/include/core/SkPicture.h" |
22 | 22 |
23 namespace cc { | 23 namespace cc { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 // Used to ensure that memory dump logic always happens on the same thread. | 167 // Used to ensure that memory dump logic always happens on the same thread. |
168 base::ThreadChecker memory_dump_thread_checker_; | 168 base::ThreadChecker memory_dump_thread_checker_; |
169 | 169 |
170 DISALLOW_COPY_AND_ASSIGN(RasterSource); | 170 DISALLOW_COPY_AND_ASSIGN(RasterSource); |
171 }; | 171 }; |
172 | 172 |
173 } // namespace cc | 173 } // namespace cc |
174 | 174 |
175 #endif // CC_PLAYBACK_RASTER_SOURCE_H_ | 175 #endif // CC_PLAYBACK_RASTER_SOURCE_H_ |
OLD | NEW |