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

Side by Side Diff: components/metrics/leak_detector/leak_detector_impl_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_detector_impl.h" 5 #include "components/metrics/leak_detector/leak_detector_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include <complex> 11 #include <complex>
11 #include <new> 12 #include <new>
12 #include <set> 13 #include <set>
13 #include <vector> 14 #include <vector>
14 15
15 #include "base/macros.h" 16 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
17 #include "components/metrics/leak_detector/custom_allocator.h" 18 #include "components/metrics/leak_detector/custom_allocator.h"
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 kStack4.stack[i] <= kMappingAddr + kMappingSize) { 456 kStack4.stack[i] <= kMappingAddr + kMappingSize) {
456 EXPECT_EQ(kStack4.stack[i] - kMappingAddr, report2.call_stack()[i]); 457 EXPECT_EQ(kStack4.stack[i] - kMappingAddr, report2.call_stack()[i]);
457 } else { 458 } else {
458 EXPECT_EQ(kStack4.stack[i], report2.call_stack()[i]); 459 EXPECT_EQ(kStack4.stack[i], report2.call_stack()[i]);
459 } 460 }
460 } 461 }
461 } 462 }
462 463
463 } // namespace leak_detector 464 } // namespace leak_detector
464 } // namespace metrics 465 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/leak_detector/leak_detector_impl.h ('k') | components/metrics/leak_detector/ranked_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698