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_LEAK_DETECTOR_IMPL_H_ | 5 #ifndef COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_IMPL_H_ |
6 #define COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_IMPL_H_ | 6 #define COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
8 #include <stdint.h> | 9 #include <stdint.h> |
9 | 10 |
10 #include <vector> | 11 #include <vector> |
11 | 12 |
12 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "components/metrics/leak_detector/call_stack_manager.h" | 15 #include "components/metrics/leak_detector/call_stack_manager.h" |
15 #include "components/metrics/leak_detector/custom_allocator.h" | 16 #include "components/metrics/leak_detector/custom_allocator.h" |
16 #include "components/metrics/leak_detector/leak_analyzer.h" | 17 #include "components/metrics/leak_detector/leak_analyzer.h" |
17 | 18 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // considered a leak suspect. | 154 // considered a leak suspect. |
154 int call_stack_suspicion_threshold_; | 155 int call_stack_suspicion_threshold_; |
155 | 156 |
156 DISALLOW_COPY_AND_ASSIGN(LeakDetectorImpl); | 157 DISALLOW_COPY_AND_ASSIGN(LeakDetectorImpl); |
157 }; | 158 }; |
158 | 159 |
159 } // namespace leak_detector | 160 } // namespace leak_detector |
160 } // namespace metrics | 161 } // namespace metrics |
161 | 162 |
162 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_IMPL_H_ | 163 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_IMPL_H_ |
OLD | NEW |