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 COMPONENTS_METRICS_METRICS_PROVIDER_H_ | 5 #ifndef COMPONENTS_METRICS_METRICS_PROVIDER_H_ |
6 #define COMPONENTS_METRICS_METRICS_PROVIDER_H_ | 6 #define COMPONENTS_METRICS_METRICS_PROVIDER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 | 9 |
10 namespace metrics { | 10 namespace metrics { |
11 | 11 |
12 class ChromeUserMetricsExtension; | 12 class ChromeUserMetricsExtension; |
13 class SystemProfileProto; | 13 class SystemProfileProto; |
14 class SystemProfileProto_Stability; | 14 class SystemProfileProto_Stability; |
15 | 15 |
16 // MetricsProvider is an interface allowing different parts of the UMA protos to | 16 // MetricsProvider is an interface allowing different parts of the UMA protos to |
17 // be filled out by different classes. | 17 // be filled out by different classes. |
18 class MetricsProvider { | 18 class MetricsProvider { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void ProvideGeneralMetrics( | 63 virtual void ProvideGeneralMetrics( |
64 ChromeUserMetricsExtension* uma_proto); | 64 ChromeUserMetricsExtension* uma_proto); |
65 | 65 |
66 private: | 66 private: |
67 DISALLOW_COPY_AND_ASSIGN(MetricsProvider); | 67 DISALLOW_COPY_AND_ASSIGN(MetricsProvider); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace metrics | 70 } // namespace metrics |
71 | 71 |
72 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_ | 72 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_ |
OLD | NEW |