| 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/macros.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 class HistogramSnapshotManager; | 11 class HistogramSnapshotManager; |
| 12 } // namespace base | 12 } // namespace base |
| 13 | 13 |
| 14 namespace metrics { | 14 namespace metrics { |
| 15 | 15 |
| 16 class ChromeUserMetricsExtension; | 16 class ChromeUserMetricsExtension; |
| 17 class SystemProfileProto; | 17 class SystemProfileProto; |
| 18 class SystemProfileProto_Stability; | |
| 19 | 18 |
| 20 // MetricsProvider is an interface allowing different parts of the UMA protos to | 19 // MetricsProvider is an interface allowing different parts of the UMA protos to |
| 21 // be filled out by different classes. | 20 // be filled out by different classes. |
| 22 class MetricsProvider { | 21 class MetricsProvider { |
| 23 public: | 22 public: |
| 24 MetricsProvider(); | 23 MetricsProvider(); |
| 25 virtual ~MetricsProvider(); | 24 virtual ~MetricsProvider(); |
| 26 | 25 |
| 27 // Called after initialiazation of MetricsService and field trials. | 26 // Called after initialiazation of MetricsService and field trials. |
| 28 virtual void Init(); | 27 virtual void Init(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 virtual void RecordInitialHistogramSnapshots( | 94 virtual void RecordInitialHistogramSnapshots( |
| 96 base::HistogramSnapshotManager* snapshot_manager); | 95 base::HistogramSnapshotManager* snapshot_manager); |
| 97 | 96 |
| 98 private: | 97 private: |
| 99 DISALLOW_COPY_AND_ASSIGN(MetricsProvider); | 98 DISALLOW_COPY_AND_ASSIGN(MetricsProvider); |
| 100 }; | 99 }; |
| 101 | 100 |
| 102 } // namespace metrics | 101 } // namespace metrics |
| 103 | 102 |
| 104 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_ | 103 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_ |
| OLD | NEW |