OLD | NEW |
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 #ifndef BASE_TEST_HISTOGRAM_TESTER_H_ | 5 #ifndef BASE_TEST_HISTOGRAM_TESTER_H_ |
6 #define BASE_TEST_HISTOGRAM_TESTER_H_ | 6 #define BASE_TEST_HISTOGRAM_TESTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <ostream> | 9 #include <ostream> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
17 #include "base/metrics/histogram_base.h" | 17 #include "base/metrics/histogram_base.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 | 20 |
21 struct Bucket; | 21 struct Bucket; |
22 class HistogramSamples; | 22 class HistogramSamples; |
23 | 23 |
24 // HistogramTester provides a simple interface for examining histograms, UMA | 24 // HistogramTester provides a simple interface for examining histograms, UMA |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 base::HistogramBase::Sample min; | 129 base::HistogramBase::Sample min; |
130 base::HistogramBase::Count count; | 130 base::HistogramBase::Count count; |
131 }; | 131 }; |
132 | 132 |
133 void PrintTo(const Bucket& value, std::ostream* os); | 133 void PrintTo(const Bucket& value, std::ostream* os); |
134 | 134 |
135 } // namespace base | 135 } // namespace base |
136 | 136 |
137 #endif // BASE_TEST_HISTOGRAM_TESTER_H_ | 137 #endif // BASE_TEST_HISTOGRAM_TESTER_H_ |
OLD | NEW |