Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: components/metrics/metrics_provider.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/metrics/metrics_log.h ('k') | components/metrics/metrics_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/metrics/metrics_log.h ('k') | components/metrics/metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698