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

Unified Diff: chrome/common/metrics/metrics_service_base.cc

Issue 12207058: Connect SparseHistogram with the rest of stats system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix and add tests Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/metrics/metrics_service_base.cc
diff --git a/chrome/common/metrics/metrics_service_base.cc b/chrome/common/metrics/metrics_service_base.cc
index bb534b127d16a8b1a80f2bde98ac1352df1065b2..4241a7feef8cbf17dc56a7cd8239d60f3dfacbe7 100644
--- a/chrome/common/metrics/metrics_service_base.cc
+++ b/chrome/common/metrics/metrics_service_base.cc
@@ -43,15 +43,15 @@ void MetricsServiceBase::RecordDelta(
}
void MetricsServiceBase::InconsistencyDetected(
- Histogram::Inconsistencies problem) {
+ base::HistogramInconsistency problem) {
UMA_HISTOGRAM_ENUMERATION("Histogram.InconsistenciesBrowser",
- problem, Histogram::NEVER_EXCEEDED_VALUE);
+ problem, base::NEVER_EXCEEDED_VALUE);
}
void MetricsServiceBase::UniqueInconsistencyDetected(
- Histogram::Inconsistencies problem) {
+ base::HistogramInconsistency problem) {
UMA_HISTOGRAM_ENUMERATION("Histogram.InconsistenciesBrowserUnique",
- problem, Histogram::NEVER_EXCEEDED_VALUE);
+ problem, base::NEVER_EXCEEDED_VALUE);
}
void MetricsServiceBase::InconsistencyDetectedInLoggedCount(int amount) {

Powered by Google App Engine
This is Rietveld 408576698