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 #ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ | 5 #ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ |
6 #define BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ | 6 #define BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <unordered_map> | 11 #include <unordered_map> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/base_export.h" | 14 #include "base/base_export.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/memory/scoped_vector.h" | |
19 #include "base/trace_event/heap_profiler_serialization_state.h" | 18 #include "base/trace_event/heap_profiler_serialization_state.h" |
20 #include "base/trace_event/memory_allocator_dump.h" | 19 #include "base/trace_event/memory_allocator_dump.h" |
21 #include "base/trace_event/memory_allocator_dump_guid.h" | 20 #include "base/trace_event/memory_allocator_dump_guid.h" |
22 #include "base/trace_event/memory_dump_request_args.h" | 21 #include "base/trace_event/memory_dump_request_args.h" |
23 #include "base/trace_event/process_memory_maps.h" | 22 #include "base/trace_event/process_memory_maps.h" |
24 #include "base/trace_event/process_memory_totals.h" | 23 #include "base/trace_event/process_memory_totals.h" |
25 #include "build/build_config.h" | 24 #include "build/build_config.h" |
26 | 25 |
27 // Define COUNT_RESIDENT_BYTES_SUPPORTED if platform supports counting of the | 26 // Define COUNT_RESIDENT_BYTES_SUPPORTED if platform supports counting of the |
28 // resident memory. | 27 // resident memory. |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // background mode are disabled for testing. | 264 // background mode are disabled for testing. |
266 static bool is_black_hole_non_fatal_for_testing_; | 265 static bool is_black_hole_non_fatal_for_testing_; |
267 | 266 |
268 DISALLOW_COPY_AND_ASSIGN(ProcessMemoryDump); | 267 DISALLOW_COPY_AND_ASSIGN(ProcessMemoryDump); |
269 }; | 268 }; |
270 | 269 |
271 } // namespace trace_event | 270 } // namespace trace_event |
272 } // namespace base | 271 } // namespace base |
273 | 272 |
274 #endif // BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ | 273 #endif // BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ |
OLD | NEW |