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

Unified Diff: device/base/device_util_mac.h

Issue 2332903002: [sensors] [mac] Implement ambient light sensor for macOS (Closed)
Patch Set: Remove polling thread and use IOServiceAddInterestNotification Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: device/base/device_util_mac.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_service.cc b/device/base/device_util_mac.h
similarity index 53%
copy from device/bluetooth/bluetooth_remote_gatt_service.cc
copy to device/base/device_util_mac.h
index 6acb9d6b41f5a8c06acab5cf070ca8cb88917123..2e470198353dcbd91bcc0b6f18e0166d273a575a 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service.cc
+++ b/device/base/device_util_mac.h
@@ -2,12 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "device/bluetooth/bluetooth_remote_gatt_service.h"
+#ifndef DEVICE_BASE_DEVICE_UTIL_MAC_H_
+#define DEVICE_BASE_DEVICE_UTIL_MAC_H_
-namespace device {
+#include <stdint.h>
-BluetoothRemoteGattService::BluetoothRemoteGattService() {}
+namespace device {
-BluetoothRemoteGattService::~BluetoothRemoteGattService() {}
+double LMUvalueToLux(uint64_t raw_value);
Robert Sesek 2016/09/29 22:51:27 Give this a comment.
} // namespace device
+
+#endif // DEVICE_BASE_DEVICE_UTIL_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698