| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_STATS_COUNTERS_H_ | 5 #ifndef BASE_METRICS_STATS_COUNTERS_H_ |
| 6 #define BASE_METRICS_STATS_COUNTERS_H_ | 6 #define BASE_METRICS_STATS_COUNTERS_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 13 #include "base/metrics/stats_table.h" | 12 #include "base/metrics/stats_table.h" |
| 14 #include "base/time.h" | 13 #include "base/time.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 | 16 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 timer_.Stop(); | 188 timer_.Stop(); |
| 190 } | 189 } |
| 191 | 190 |
| 192 private: | 191 private: |
| 193 T& timer_; | 192 T& timer_; |
| 194 }; | 193 }; |
| 195 | 194 |
| 196 } // namespace base | 195 } // namespace base |
| 197 | 196 |
| 198 #endif // BASE_METRICS_STATS_COUNTERS_H_ | 197 #endif // BASE_METRICS_STATS_COUNTERS_H_ |
| OLD | NEW |