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

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

Issue 299783004: Create PluginMetricsProvider class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | 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/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace metrics { 10 namespace metrics {
(...skipping 16 matching lines...) Expand all
27 virtual void OnRecordingDisabled() {} 27 virtual void OnRecordingDisabled() {}
28 28
29 // Provides additional metrics into the system profile. 29 // Provides additional metrics into the system profile.
30 virtual void ProvideSystemProfileMetrics( 30 virtual void ProvideSystemProfileMetrics(
31 SystemProfileProto* system_profile_proto) {} 31 SystemProfileProto* system_profile_proto) {}
32 32
33 // Provides additional stability metrics. Stability metrics can be provided 33 // Provides additional stability metrics. Stability metrics can be provided
34 // directly into |stability_proto| fields or by logging stability histograms 34 // directly into |stability_proto| fields or by logging stability histograms
35 // via the UMA_STABILITY_HISTOGRAM_ENUMERATION() macro. 35 // via the UMA_STABILITY_HISTOGRAM_ENUMERATION() macro.
36 virtual void ProvideStabilityMetrics( 36 virtual void ProvideStabilityMetrics(
37 SystemProfileProto_Stability* stability_proto) {} 37 SystemProfileProto* system_profile_proto) {}
38 38
39 // Provides general metrics that are neither system profile nor stability 39 // Provides general metrics that are neither system profile nor stability
40 // metrics. 40 // metrics.
41 virtual void ProvideGeneralMetrics( 41 virtual void ProvideGeneralMetrics(
42 ChromeUserMetricsExtension* uma_proto) {} 42 ChromeUserMetricsExtension* uma_proto) {}
43 43
44 private: 44 private:
45 DISALLOW_COPY_AND_ASSIGN(MetricsProvider); 45 DISALLOW_COPY_AND_ASSIGN(MetricsProvider);
46 }; 46 };
47 47
48 } // namespace metrics 48 } // namespace metrics
49 49
50 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_ 50 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698