// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file defines a service that sends metrics logs to a server. #ifndef COMPONENTS_METRICS_METRICS_REPORTING_SERVICE_H_ #define COMPONENTS_METRICS_METRICS_REPORTING_SERVICE_H_ #include <stdint.h> #include <string> #include <string_view> #include "components/metrics/metrics_log_store.h" #include "components/metrics/reporting_service.h" class PrefService; class PrefRegistrySimple; namespace metrics { class MetricsServiceClient; // MetricsReportingService is concrete implementation of ReportingService for // UMA logs. It uses a MetricsLogStore as its LogStore, reports to the UMA // endpoint, and logs some histograms with the UMA prefix. class MetricsReportingService : public ReportingService { … }; } // namespace metrics #endif // COMPONENTS_METRICS_METRICS_REPORTING_SERVICE_H_