chromium/services/device/generic_sensor/virtual_platform_sensor_provider.cc

// Copyright 2023 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/generic_sensor/virtual_platform_sensor_provider.h"

#include <utility>

#include "base/memory/scoped_refptr.h"
#include "base/notreached.h"
#include "services/device/generic_sensor/orientation_euler_angles_fusion_algorithm_using_quaternion.h"
#include "services/device/generic_sensor/platform_sensor_fusion.h"
#include "services/device/generic_sensor/virtual_platform_sensor.h"
#include "services/device/public/mojom/sensor.mojom.h"
#include "services/device/public/mojom/sensor_provider.mojom.h"

namespace device {

struct VirtualPlatformSensorProvider::TypeMetadata {};

VirtualPlatformSensorProvider::VirtualPlatformSensorProvider() = default;
VirtualPlatformSensorProvider::~VirtualPlatformSensorProvider() = default;

base::WeakPtr<PlatformSensorProvider>
VirtualPlatformSensorProvider::AsWeakPtr() {}

bool VirtualPlatformSensorProvider::AddSensorOverride(
    mojom::SensorType type,
    mojom::VirtualSensorMetadataPtr metadata) {}

void VirtualPlatformSensorProvider::RemoveSensorOverride(
    mojom::SensorType type) {}

bool VirtualPlatformSensorProvider::IsOverridingSensor(
    mojom::SensorType type) const {}

void VirtualPlatformSensorProvider::AddReading(mojom::SensorType type,
                                               const SensorReading& reading) {}

void VirtualPlatformSensorProvider::CreateSensorInternal(
    mojom::SensorType type,
    CreateSensorCallback callback) {}

}  // namespace device