#include "services/device/compute_pressure/virtual_probes_manager.h"
#include <memory>
#include "base/time/time.h"
#include "services/device/compute_pressure/virtual_cpu_probe_manager.h"
#include "services/device/public/mojom/pressure_manager.mojom.h"
namespace device {
VirtualProbesManager::VirtualProbesManager(base::TimeDelta sampling_interval)
: … { … }
VirtualProbesManager::~VirtualProbesManager() = default;
bool VirtualProbesManager::AddOverrideForSource(
mojom::PressureSource source,
mojom::VirtualPressureSourceMetadataPtr metadata) { … }
void VirtualProbesManager::RemoveOverrideForSource(
mojom::PressureSource source) { … }
void VirtualProbesManager::AddUpdate(mojom::PressureSource source,
mojom::PressureState state) { … }
bool VirtualProbesManager::IsOverriding(mojom::PressureSource source) const { … }
}