#include "components/reporting/metrics/metric_reporting_controller.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/task/bind_post_task.h"
#include "base/task/sequenced_task_runner.h"
#include "components/reporting/metrics/reporting_settings.h"
namespace reporting {
MetricReportingController::MetricReportingController(
ReportingSettings* reporting_settings,
const std::string& setting_path,
bool setting_enabled_default_value)
: … { … }
MetricReportingController::~MetricReportingController() { … }
bool MetricReportingController::IsEnabled() const { … }
void MetricReportingController::SetSettingUpdateCb(
base::RepeatingClosure on_setting_enabled,
base::RepeatingClosure on_setting_disabled) { … }
void MetricReportingController::UpdateSetting() { … }
}