#include "components/reporting/metrics/metric_rate_controller.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "components/reporting/metrics/reporting_settings.h"
namespace reporting {
BASE_FEATURE(…);
MetricRateController::MetricRateController(
base::RepeatingClosure task,
ReportingSettings* reporting_settings,
const std::string& rate_setting_path,
base::TimeDelta default_rate,
int rate_unit_to_ms)
: … { … }
MetricRateController::~MetricRateController() = default;
void MetricRateController::Start() { … }
void MetricRateController::Stop() { … }
void MetricRateController::Run() { … }
}