#include "components/metrics/motherboard_metrics_provider.h"
#include <memory>
#include <utility>
#include "base/functional/callback.h"
#include "base/task/thread_pool.h"
#include "components/metrics/motherboard.h"
#include "third_party/metrics_proto/system_profile.pb.h"
namespace metrics {
namespace {
std::unique_ptr<Motherboard> GetMotherboard() { … }
}
MotherboardMetricsProvider::MotherboardMetricsProvider() = default;
MotherboardMetricsProvider::~MotherboardMetricsProvider() = default;
void MotherboardMetricsProvider::ProvideSystemProfileMetrics(
SystemProfileProto* system_profile) { … }
void MotherboardMetricsProvider::AsyncInit(base::OnceClosure done_callback) { … }
void MotherboardMetricsProvider::InitializeMotherboard(
base::OnceClosure done_callback,
std::unique_ptr<Motherboard> motherboard_info) { … }
}