| 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_TABLE_H_ | 5 #ifndef COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_TABLE_H_ |
| 6 #define COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_TABLE_H_ | 6 #define COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_TABLE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 | 10 |
| 10 #include <functional> // For std::equal_to. | 11 #include <functional> // For std::equal_to. |
| 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/custom_allocator.h" | 15 #include "components/metrics/leak_detector/custom_allocator.h" |
| 15 #include "components/metrics/leak_detector/leak_analyzer.h" | 16 #include "components/metrics/leak_detector/leak_analyzer.h" |
| 16 #include "components/metrics/leak_detector/stl_allocator.h" | 17 #include "components/metrics/leak_detector/stl_allocator.h" |
| 17 | 18 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // For detecting leak patterns in incoming allocations. | 74 // For detecting leak patterns in incoming allocations. |
| 74 LeakAnalyzer leak_analyzer_; | 75 LeakAnalyzer leak_analyzer_; |
| 75 | 76 |
| 76 DISALLOW_COPY_AND_ASSIGN(CallStackTable); | 77 DISALLOW_COPY_AND_ASSIGN(CallStackTable); |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 } // namespace leak_detector | 80 } // namespace leak_detector |
| 80 } // namespace metrics | 81 } // namespace metrics |
| 81 | 82 |
| 82 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_TABLE_H_ | 83 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_CALL_STACK_TABLE_H_ |
| OLD | NEW |