chromium/components/reporting/metrics/fakes/fake_metric_event_observer.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {}

}  // namespace reporting::test