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_TRACE_EVENT_MEMORY_OVERHEAD_H_ | 5 #ifndef BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ |
6 #define BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ | 6 #define BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/base_export.h" | 10 #include "base/base_export.h" |
9 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
10 #include "base/containers/small_map.h" | 12 #include "base/containers/small_map.h" |
| 13 #include "base/macros.h" |
11 | 14 |
12 namespace base { | 15 namespace base { |
13 | 16 |
14 class RefCountedString; | 17 class RefCountedString; |
15 class Value; | 18 class Value; |
16 | 19 |
17 namespace trace_event { | 20 namespace trace_event { |
18 | 21 |
19 class ProcessMemoryDump; | 22 class ProcessMemoryDump; |
20 | 23 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 size_t allocated_size_in_bytes, | 68 size_t allocated_size_in_bytes, |
66 size_t resident_size_in_bytes); | 69 size_t resident_size_in_bytes); |
67 | 70 |
68 DISALLOW_COPY_AND_ASSIGN(TraceEventMemoryOverhead); | 71 DISALLOW_COPY_AND_ASSIGN(TraceEventMemoryOverhead); |
69 }; | 72 }; |
70 | 73 |
71 } // namespace trace_event | 74 } // namespace trace_event |
72 } // namespace base | 75 } // namespace base |
73 | 76 |
74 #endif // BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ | 77 #endif // BASE_TRACE_EVENT_TRACE_EVENT_MEMORY_OVERHEAD_H_ |
OLD | NEW |