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

Unified Diff: components/ukm/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/ukm/persisted_logs_metrics_impl.h ('k') | components/ukm/ukm_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ukm/persisted_logs_metrics_impl.cc
diff --git a/components/ukm/persisted_logs_metrics_impl.cc b/components/ukm/persisted_logs_metrics_impl.cc
index 7534854c0717df043f13544a38a12f05d1700e36..fa5fa9701bfb5753b1a668d20112ea8982f7a830 100644
--- a/components/ukm/persisted_logs_metrics_impl.cc
+++ b/components/ukm/persisted_logs_metrics_impl.cc
@@ -12,12 +12,10 @@ PersistedLogsMetricsImpl::PersistedLogsMetricsImpl() = default;
PersistedLogsMetricsImpl::~PersistedLogsMetricsImpl() = default;
-metrics::PersistedLogs::LogReadStatus
-PersistedLogsMetricsImpl::RecordLogReadStatus(
- metrics::PersistedLogs::LogReadStatus status) {
+void PersistedLogsMetricsImpl::RecordLogReadStatus(
+ metrics::PersistedLogsMetrics::LogReadStatus status) {
UMA_HISTOGRAM_ENUMERATION("UKM.PersistentLogRecall.Status", status,
- metrics::PersistedLogs::END_RECALL_STATUS);
- return status;
+ metrics::PersistedLogsMetrics::END_RECALL_STATUS);
}
void PersistedLogsMetricsImpl::RecordCompressionRatio(size_t compressed_size,
« no previous file with comments | « components/ukm/persisted_logs_metrics_impl.h ('k') | components/ukm/ukm_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698