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

Unified Diff: components/metrics/persisted_logs_metrics_impl.cc

Issue 2689323010: Split a MetricsLogStore object out of MetricsLogManager. (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « components/metrics/persisted_logs_metrics_impl.h ('k') | components/metrics/persisted_logs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/persisted_logs_metrics_impl.cc
diff --git a/components/metrics/persisted_logs_metrics_impl.cc b/components/metrics/persisted_logs_metrics_impl.cc
index 877ad28864e2036f5b338505088588864b3287b1..7142ba510335636a9e8cb09f9456324e54c43a7e 100644
--- a/components/metrics/persisted_logs_metrics_impl.cc
+++ b/components/metrics/persisted_logs_metrics_impl.cc
@@ -8,12 +8,10 @@
namespace metrics {
-PersistedLogs::LogReadStatus
-PersistedLogsMetricsImpl::RecordLogReadStatus(
- PersistedLogs::LogReadStatus status) {
- UMA_HISTOGRAM_ENUMERATION("PrefService.PersistentLogRecallProtobufs",
- status, PersistedLogs::END_RECALL_STATUS);
- return status;
+void PersistedLogsMetricsImpl::RecordLogReadStatus(
+ PersistedLogsMetrics::LogReadStatus status) {
+ UMA_HISTOGRAM_ENUMERATION("PrefService.PersistentLogRecallProtobufs", status,
+ PersistedLogsMetrics::END_RECALL_STATUS);
}
void PersistedLogsMetricsImpl::RecordCompressionRatio(
« no previous file with comments | « components/metrics/persisted_logs_metrics_impl.h ('k') | components/metrics/persisted_logs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698