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