OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_METRICS_HISTOGRAM_FLATTENER_H_ | 5 #ifndef BASE_METRICS_HISTOGRAM_FLATTENER_H_ |
6 #define BASE_METRICS_HISTOGRAM_FLATTENER_H_ | 6 #define BASE_METRICS_HISTOGRAM_FLATTENER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 | 15 |
16 class HistogramSamples; | 16 class HistogramSamples; |
17 | 17 |
18 // HistogramFlattener is an interface used by HistogramSnapshotManager, which | 18 // HistogramFlattener is an interface used by HistogramSnapshotManager, which |
19 // handles the logistics of gathering up available histograms for recording. | 19 // handles the logistics of gathering up available histograms for recording. |
20 // The implementors handle the exact lower level recording mechanism, or | 20 // The implementors handle the exact lower level recording mechanism, or |
21 // error report mechanism. | 21 // error report mechanism. |
(...skipping 20 matching lines...) Expand all Loading... |
42 HistogramFlattener() {} | 42 HistogramFlattener() {} |
43 virtual ~HistogramFlattener() {} | 43 virtual ~HistogramFlattener() {} |
44 | 44 |
45 private: | 45 private: |
46 DISALLOW_COPY_AND_ASSIGN(HistogramFlattener); | 46 DISALLOW_COPY_AND_ASSIGN(HistogramFlattener); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace base | 49 } // namespace base |
50 | 50 |
51 #endif // BASE_METRICS_HISTOGRAM_FLATTENER_H_ | 51 #endif // BASE_METRICS_HISTOGRAM_FLATTENER_H_ |
OLD | NEW |