chromium/services/device/public/cpp/test/scoped_pressure_manager_overrider.cc

// Copyright 2022 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/public/cpp/test/scoped_pressure_manager_overrider.h"

#include "base/functional/callback_helpers.h"
#include "services/device/device_service.h"
#include "services/device/public/mojom/pressure_update.mojom.h"

namespace device {

FakePressureManager::FakePressureManager() = default;

FakePressureManager::~FakePressureManager() = default;

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

bool FakePressureManager::is_bound() const {}

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

void FakePressureManager::UpdateClients(const mojom::PressureUpdate& update) {}

void FakePressureManager::set_is_supported(bool is_supported) {}

ScopedPressureManagerOverrider::ScopedPressureManagerOverrider() {}

ScopedPressureManagerOverrider::~ScopedPressureManagerOverrider() {}

void ScopedPressureManagerOverrider::UpdateClients(
    const mojom::PressureUpdate& update) {}

void ScopedPressureManagerOverrider::set_is_supported(bool is_supported) {}

void ScopedPressureManagerOverrider::set_fake_pressure_manager(
    std::unique_ptr<FakePressureManager> pressure_manager) {}

}  // namespace device