chromium/components/performance_manager/test_support/persistence/test_site_data_reader.cc

// Copyright 2023 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/performance_manager/test_support/persistence/test_site_data_reader.h"

#include <optional>
#include <utility>

#include "base/functional/callback.h"
#include "base/task/sequenced_task_runner.h"
#include "components/performance_manager/public/persistence/site_data/feature_usage.h"

namespace performance_manager::testing {

namespace {

SiteFeatureUsage UsageFromOptionalBool(std::optional<bool> feature) {}

}  // namespace

SimpleTestSiteDataReader::SimpleTestSiteDataReader(
    const BackgroundFeatureUsage& usage)
    :{}

SimpleTestSiteDataReader::~SimpleTestSiteDataReader() = default;

SiteFeatureUsage SimpleTestSiteDataReader::UpdatesFaviconInBackground() const {}

SiteFeatureUsage SimpleTestSiteDataReader::UpdatesTitleInBackground() const {}
SiteFeatureUsage SimpleTestSiteDataReader::UsesAudioInBackground() const {}

bool SimpleTestSiteDataReader::DataLoaded() const {}

void SimpleTestSiteDataReader::RegisterDataLoadedCallback(
    base::OnceClosure&& callback) {}

}  // namespace performance_manager::testing