chromium/components/performance_manager/resource_attribution/cpu_measurement_data.cc

// Copyright 2024 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/resource_attribution/cpu_measurement_data.h"

#include <memory>
#include <optional>
#include <utility>

#include "base/time/time.h"
#include "base/types/expected.h"
#include "base/types/optional_util.h"
#include "components/performance_manager/public/resource_attribution/cpu_measurement_delegate.h"

namespace resource_attribution {

CPUMeasurementData::CPUMeasurementData(
    std::unique_ptr<CPUMeasurementDelegate> delegate)
    :{}

CPUMeasurementData::~CPUMeasurementData() = default;

CPUMeasurementData::CPUMeasurementData(CPUMeasurementData&& other) = default;

CPUMeasurementData& CPUMeasurementData::operator=(CPUMeasurementData&& other) =
    default;

void CPUMeasurementData::SetMostRecentMeasurement(
    base::TimeDelta measurement,
    base::TimeTicks measurement_time) {}

}  // namespace resource_attribution