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

Side by Side Diff: chrome/browser/chromeos/net/network_portal_detector_test_utils.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/chromeos/net/network_portal_detector_test_utils.h" 5 #include "chrome/browser/chromeos/net/network_portal_detector_test_utils.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "base/metrics/histogram_base.h" 13 #include "base/metrics/histogram_base.h"
12 #include "base/metrics/histogram_samples.h" 14 #include "base/metrics/histogram_samples.h"
13 #include "base/metrics/statistics_recorder.h" 15 #include "base/metrics/statistics_recorder.h"
14 16
15 namespace chromeos { 17 namespace chromeos {
16 18
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 if (actual != expect_[i]) { 61 if (actual != expect_[i]) {
60 LOG(ERROR) << "Histogram: " << histogram_ << ", value #" << i << ", " 62 LOG(ERROR) << "Histogram: " << histogram_ << ", value #" << i << ", "
61 << "expected: " << expect_[i] << ", actual: " << actual; 63 << "expected: " << expect_[i] << ", actual: " << actual;
62 ok = false; 64 ok = false;
63 } 65 }
64 } 66 }
65 return ok; 67 return ok;
66 } 68 }
67 69
68 } // namespace chromeos 70 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698