#include "components/reporting/metrics/fakes/fake_metric_event_observer.h"
#include <utility>
#include "base/location.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "components/reporting/metrics/metric_event_observer.h"
#include "components/reporting/proto/synced/metric_data.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace reporting::test {
FakeMetricEventObserver::FakeMetricEventObserver() = default;
FakeMetricEventObserver::~FakeMetricEventObserver() = default;
void FakeMetricEventObserver::SetOnEventObservedCallback(
MetricRepeatingCallback cb) { … }
void FakeMetricEventObserver::SetReportingEnabled(bool is_enabled) { … }
void FakeMetricEventObserver::RunCallback(MetricData metric_data) { … }
bool FakeMetricEventObserver::GetReportingEnabled() const { … }
}