OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> |
| 6 |
5 #include <set> | 7 #include <set> |
6 #include <string> | 8 #include <string> |
7 | 9 |
8 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/trace_event/heap_profiler_allocation_context.h" | 14 #include "base/trace_event/heap_profiler_allocation_context.h" |
13 #include "base/trace_event/heap_profiler_heap_dump_writer.h" | 15 #include "base/trace_event/heap_profiler_heap_dump_writer.h" |
14 #include "base/trace_event/heap_profiler_stack_frame_deduplicator.h" | 16 #include "base/trace_event/heap_profiler_stack_frame_deduplicator.h" |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 AssertSizeEq(dump, -1, type_id_bool, 48); | 227 AssertSizeEq(dump, -1, type_id_bool, 48); |
226 AssertSizeEq(dump, -1, type_id_string, 19); | 228 AssertSizeEq(dump, -1, type_id_string, 19); |
227 } | 229 } |
228 | 230 |
229 // TODO(ruuda): Verify that cumulative sizes are computed correctly. | 231 // TODO(ruuda): Verify that cumulative sizes are computed correctly. |
230 // TODO(ruuda): Verify that insignificant values are not dumped. | 232 // TODO(ruuda): Verify that insignificant values are not dumped. |
231 | 233 |
232 } // namespace internal | 234 } // namespace internal |
233 } // namespace trace_event | 235 } // namespace trace_event |
234 } // namespace base | 236 } // namespace base |
OLD | NEW |