#include "services/device/generic_sensor/sensor_impl.h"
#include <utility>
namespace device {
SensorImpl::SensorImpl(scoped_refptr<PlatformSensor> sensor)
: … { … }
SensorImpl::~SensorImpl() { … }
mojo::PendingReceiver<mojom::SensorClient> SensorImpl::GetClient() { … }
void SensorImpl::AddConfiguration(
const PlatformSensorConfiguration& configuration,
AddConfigurationCallback callback) { … }
void SensorImpl::GetDefaultConfiguration(
GetDefaultConfigurationCallback callback) { … }
void SensorImpl::RemoveConfiguration(
const PlatformSensorConfiguration& configuration) { … }
void SensorImpl::Suspend() { … }
void SensorImpl::Resume() { … }
void SensorImpl::ConfigureReadingChangeNotifications(bool enabled) { … }
void SensorImpl::OnSensorReadingChanged(mojom::SensorType type) { … }
void SensorImpl::OnSensorError() { … }
bool SensorImpl::IsSuspended() { … }
}