Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: components/metrics/leak_detector/leak_analyzer_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/metrics/leak_detector/leak_analyzer.h ('k') | components/metrics/leak_detector/leak_detector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698