blob: 809a4f21609e1c3fb1c6f9296209ffe75e80f072 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_
#define SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_
#include "services/device/generic_sensor/platform_sensor_provider.h"
namespace device {
class PlatformSensorProviderMac : public PlatformSensorProvider {
public:
PlatformSensorProviderMac();
~PlatformSensorProviderMac() override;
static PlatformSensorProviderMac* GetInstance();
protected:
void CreateSensorInternal(mojom::SensorType type,
mojo::ScopedSharedBufferMapping mapping,
const CreateSensorCallback& callback) override;
private:
DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderMac);
};
} // namespace device
#endif // SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_