| Index: device/generic_sensor/shared/device_util_mac.h
|
| diff --git a/device/generic_sensor/shared/device_util_mac.h b/device/generic_sensor/shared/device_util_mac.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8e85d05437fbe59fc8c4e745549541ccaf7d5bb6
|
| --- /dev/null
|
| +++ b/device/generic_sensor/shared/device_util_mac.h
|
| @@ -0,0 +1,18 @@
|
| +// 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 DEVICE_GENERIC_SENSOR_SHARED_DEVICE_UTIL_MAC_H_
|
| +#define DEVICE_GENERIC_SENSOR_SHARED_DEVICE_UTIL_MAC_H_
|
| +
|
| +#include <stdint.h>
|
| +
|
| +namespace device {
|
| +
|
| +// Convert the value returned by the ambient light LMU sensor on Mac
|
| +// hardware to a lux value.
|
| +double LMUvalueToLux(uint64_t raw_value);
|
| +
|
| +} // namespace device
|
| +
|
| +#endif // DEVICE_GENERIC_SENSOR_SHARED_DEVICE_UTIL_MAC_H_
|
|
|