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 // Counters used within the browser. | 5 // Counters used within the browser. |
6 | 6 |
7 #ifndef CONTENT_COMMON_CONTENT_COUNTERS_H_ | 7 #ifndef CONTENT_COMMON_CONTENT_COUNTERS_H_ |
8 #define CONTENT_COMMON_CONTENT_COUNTERS_H_ | 8 #define CONTENT_COMMON_CONTENT_COUNTERS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
| 11 #include "content/common/content_export.h" |
| 12 |
11 namespace base { | 13 namespace base { |
12 class StatsCounter; | 14 class StatsCounter; |
13 class StatsCounterTimer; | 15 class StatsCounterTimer; |
14 class StatsRate; | 16 class StatsRate; |
15 } | 17 } |
16 | 18 |
17 namespace content { | 19 namespace content { |
18 | 20 |
19 class Counters { | 21 class Counters { |
20 public: | 22 public: |
21 // The amount of time spent in chrome initialization. | 23 // The amount of time spent in chrome initialization. |
22 static base::StatsCounterTimer& chrome_main(); | 24 CONTENT_EXPORT static base::StatsCounterTimer& chrome_main(); |
23 | 25 |
24 // The amount of time spent in renderer initialization. | 26 // The amount of time spent in renderer initialization. |
25 static base::StatsCounterTimer& renderer_main(); | 27 static base::StatsCounterTimer& renderer_main(); |
26 }; | 28 }; |
27 | 29 |
28 } // namespace content | 30 } // namespace content |
29 | 31 |
30 #endif // CONTENT_COMMON_CONTENT_COUNTERS_H_ | 32 #endif // CONTENT_COMMON_CONTENT_COUNTERS_H_ |
OLD | NEW |