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_ANALYZER_H_ | 5 #ifndef COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_ANALYZER_H_ |
6 #define COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_ANALYZER_H_ | 6 #define COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_ANALYZER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "components/metrics/leak_detector/custom_allocator.h" | 14 #include "components/metrics/leak_detector/custom_allocator.h" |
13 #include "components/metrics/leak_detector/leak_detector_value_type.h" | 15 #include "components/metrics/leak_detector/leak_detector_value_type.h" |
14 #include "components/metrics/leak_detector/ranked_list.h" | 16 #include "components/metrics/leak_detector/ranked_list.h" |
15 #include "components/metrics/leak_detector/stl_allocator.h" | 17 #include "components/metrics/leak_detector/stl_allocator.h" |
16 | 18 |
17 namespace metrics { | 19 namespace metrics { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // The previous allocation entries, from before the last call to AddSample(). | 77 // The previous allocation entries, from before the last call to AddSample(). |
76 RankedList prev_ranked_entries_; | 78 RankedList prev_ranked_entries_; |
77 | 79 |
78 DISALLOW_COPY_AND_ASSIGN(LeakAnalyzer); | 80 DISALLOW_COPY_AND_ASSIGN(LeakAnalyzer); |
79 }; | 81 }; |
80 | 82 |
81 } // namespace leak_detector | 83 } // namespace leak_detector |
82 } // namespace metrics | 84 } // namespace metrics |
83 | 85 |
84 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_ANALYZER_H_ | 86 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_ANALYZER_H_ |
OLD | NEW |