chromium/services/device/compute_pressure/pressure_manager_impl.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/device/compute_pressure/pressure_manager_impl.h"

#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/time/time.h"
#include "base/unguessable_token.h"
#include "mojo/public/cpp/bindings/message.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "services/device/compute_pressure/probes_manager.h"
#include "services/device/compute_pressure/virtual_probes_manager.h"
#include "services/device/public/mojom/pressure_manager.mojom.h"

namespace device {

// static
std::unique_ptr<PressureManagerImpl> PressureManagerImpl::Create(
    base::TimeDelta sampling_interval) {}

PressureManagerImpl::PressureManagerImpl(base::TimeDelta sampling_interval)
    :{}

PressureManagerImpl::~PressureManagerImpl() {}

void PressureManagerImpl::Bind(
    mojo::PendingReceiver<mojom::PressureManager> receiver) {}

void PressureManagerImpl::AddClient(
    mojom::PressureSource source,
    const std::optional<base::UnguessableToken>& token,
    AddClientCallback callback) {}

ProbesManager* PressureManagerImpl::GetProbesManagerForTesting() const {}

void PressureManagerImpl::AddVirtualPressureSource(
    const base::UnguessableToken& token,
    mojom::PressureSource source,
    mojom::VirtualPressureSourceMetadataPtr metadata,
    AddVirtualPressureSourceCallback callback) {}

void PressureManagerImpl::RemoveVirtualPressureSource(
    const base::UnguessableToken& token,
    mojom::PressureSource source,
    RemoveVirtualPressureSourceCallback callback) {}

void PressureManagerImpl::UpdateVirtualPressureSourceState(
    const base::UnguessableToken& token,
    mojom::PressureSource source,
    mojom::PressureState state,
    UpdateVirtualPressureSourceStateCallback callback) {}

}  // namespace device