| 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 #include "components/metrics/leak_detector/leak_analyzer.h" | 5 #include "components/metrics/leak_detector/leak_analyzer.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 | 10 |
| 9 #include "base/macros.h" | 11 #include "base/macros.h" |
| 10 #include "components/metrics/leak_detector/custom_allocator.h" | 12 #include "components/metrics/leak_detector/custom_allocator.h" |
| 11 #include "components/metrics/leak_detector/ranked_list.h" | 13 #include "components/metrics/leak_detector/ranked_list.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 15 |
| 14 namespace metrics { | 16 namespace metrics { |
| 15 namespace leak_detector { | 17 namespace leak_detector { |
| 16 | 18 |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 EXPECT_EQ(16U, leaks[0].size()); | 357 EXPECT_EQ(16U, leaks[0].size()); |
| 356 EXPECT_EQ(32U, leaks[1].size()); | 358 EXPECT_EQ(32U, leaks[1].size()); |
| 357 EXPECT_EQ(56U, leaks[2].size()); | 359 EXPECT_EQ(56U, leaks[2].size()); |
| 358 EXPECT_EQ(64U, leaks[3].size()); | 360 EXPECT_EQ(64U, leaks[3].size()); |
| 359 } | 361 } |
| 360 } | 362 } |
| 361 } | 363 } |
| 362 | 364 |
| 363 } // namespace leak_detector | 365 } // namespace leak_detector |
| 364 } // namespace metrics | 366 } // namespace metrics |
| OLD | NEW |