Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: services/device/public/cpp/sensors/device_util_mac.h

Issue 2819273006: Move //device/sensor impl to be part of the internal implemenation of the Device Service. (Closed)
Patch Set: Move //device/sensor impl to be part of the internal implemenation of the Device Service Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_SENSORS_PUBLIC_CPP_DEVICE_UTIL_MAC_H_ 5 #ifndef SERVICES_DEVICE_PUBLIC_CPP_SENSORS_DEVICE_UTIL_MAC_H_
6 #define DEVICE_SENSORS_PUBLIC_CPP_DEVICE_UTIL_MAC_H_ 6 #define SERVICES_DEVICE_PUBLIC_CPP_SENSORS_DEVICE_UTIL_MAC_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 namespace device { 10 namespace device {
11 11
12 // Convert the value returned by the ambient light LMU sensor on Mac 12 // Convert the value returned by the ambient light LMU sensor on Mac
13 // hardware to a lux value. 13 // hardware to a lux value.
14 double LMUvalueToLux(uint64_t raw_value); 14 double LMUvalueToLux(uint64_t raw_value);
15 15
16 } // namespace device 16 } // namespace device
17 17
18 #endif // DEVICE_SENSORS_PUBLIC_CPP_DEVICE_UTIL_MAC_H_ 18 #endif // SERVICES_DEVICE_PUBLIC_CPP_SENSORS_DEVICE_UTIL_MAC_H_
OLDNEW
« no previous file with comments | « services/device/public/cpp/sensors/device_sensors_consts.h ('k') | services/device/public/cpp/sensors/device_util_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698