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

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

Issue 308433004: Reduce plugin_metrics_provider_ usage in MetricsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 6 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
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('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 26 matching lines...) Expand all
37 // directly into |stability_proto| fields or by logging stability histograms 37 // directly into |stability_proto| fields or by logging stability histograms
38 // via the UMA_STABILITY_HISTOGRAM_ENUMERATION() macro. 38 // via the UMA_STABILITY_HISTOGRAM_ENUMERATION() macro.
39 virtual void ProvideStabilityMetrics( 39 virtual void ProvideStabilityMetrics(
40 SystemProfileProto* system_profile_proto) {} 40 SystemProfileProto* system_profile_proto) {}
41 41
42 // Provides general metrics that are neither system profile nor stability 42 // Provides general metrics that are neither system profile nor stability
43 // metrics. 43 // metrics.
44 virtual void ProvideGeneralMetrics( 44 virtual void ProvideGeneralMetrics(
45 ChromeUserMetricsExtension* uma_proto) {} 45 ChromeUserMetricsExtension* uma_proto) {}
46 46
47 // TODO(asvitkine): Remove this method. http://crbug.com/379148
48 virtual void RecordCurrentState() {}
49
47 private: 50 private:
48 DISALLOW_COPY_AND_ASSIGN(MetricsProvider); 51 DISALLOW_COPY_AND_ASSIGN(MetricsProvider);
49 }; 52 };
50 53
51 } // namespace metrics 54 } // namespace metrics
52 55
53 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_ 56 #endif // COMPONENTS_METRICS_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698