OLD | NEW |
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 #ifndef CC_BASE_HISTOGRAMS_H_ | 5 #ifndef CC_BASE_HISTOGRAMS_H_ |
6 #define CC_BASE_HISTOGRAMS_H_ | 6 #define CC_BASE_HISTOGRAMS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "base/metrics/histogram_base.h" | 10 #include "base/metrics/histogram_base.h" |
10 #include "base/metrics/histogram_macros.h" | 11 #include "base/metrics/histogram_macros.h" |
11 #include "base/numerics/safe_math.h" | 12 #include "base/numerics/safe_math.h" |
12 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
14 #include "base/timer/elapsed_timer.h" | 15 #include "base/timer/elapsed_timer.h" |
15 #include "cc/base/cc_export.h" | 16 #include "cc/base/cc_export.h" |
16 | 17 |
17 namespace cc { | 18 namespace cc { |
18 | 19 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 base::ElapsedTimer timer_; | 93 base::ElapsedTimer timer_; |
93 base::CheckedNumeric<int> area_; | 94 base::CheckedNumeric<int> area_; |
94 | 95 |
95 friend class ScopedUMAHistogramAreaTimerBaseTest; | 96 friend class ScopedUMAHistogramAreaTimerBaseTest; |
96 DISALLOW_COPY_AND_ASSIGN(ScopedUMAHistogramAreaTimerBase); | 97 DISALLOW_COPY_AND_ASSIGN(ScopedUMAHistogramAreaTimerBase); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace cc | 100 } // namespace cc |
100 | 101 |
101 #endif // CC_BASE_HISTOGRAMS_H_ | 102 #endif // CC_BASE_HISTOGRAMS_H_ |
OLD | NEW |