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 COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_MANAGER_H_ | 5 #ifndef COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_MANAGER_H_ |
6 #define COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_MANAGER_H_ | 6 #define COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_MANAGER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdint.h> | 9 #include <stdint.h> |
9 | 10 |
10 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "components/metrics/leak_detector/custom_allocator.h" | 13 #include "components/metrics/leak_detector/custom_allocator.h" |
13 #include "components/metrics/leak_detector/stl_allocator.h" | 14 #include "components/metrics/leak_detector/stl_allocator.h" |
14 | 15 |
15 // Summary of structures: | 16 // Summary of structures: |
16 // | 17 // |
17 // struct CallStack: | 18 // struct CallStack: |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 CallStackPointerEqual, | 93 CallStackPointerEqual, |
93 CallStackPointerAllocator> call_stacks_; | 94 CallStackPointerAllocator> call_stacks_; |
94 | 95 |
95 DISALLOW_COPY_AND_ASSIGN(CallStackManager); | 96 DISALLOW_COPY_AND_ASSIGN(CallStackManager); |
96 }; | 97 }; |
97 | 98 |
98 } // namespace leak_detector | 99 } // namespace leak_detector |
99 } // namespace metrics | 100 } // namespace metrics |
100 | 101 |
101 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_MANAGER_H_ | 102 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_MANAGER_H_ |
OLD | NEW |