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

Unified Diff: device/generic_sensor/ambient_light_mac.h

Issue 2332903002: [sensors] [mac] Implement ambient light sensor for macOS (Closed)
Patch Set: [sensors] [mac] Implement ambient light sensor for macOS 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/generic_sensor/ambient_light_mac.h
diff --git a/content/browser/device_sensors/ambient_light_mac.h b/device/generic_sensor/ambient_light_mac.h
similarity index 80%
rename from content/browser/device_sensors/ambient_light_mac.h
rename to device/generic_sensor/ambient_light_mac.h
index 6d4af75ce80c20c828a86d0708ec7799cb3a09b2..2165697e1c619cf70c0728e3b5f09929334a6366 100644
--- a/content/browser/device_sensors/ambient_light_mac.h
+++ b/device/generic_sensor/ambient_light_mac.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_
-#define CONTENT_BROWSER_DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_
+#ifndef DEVICE_GENERIC_SENSOR_AMBIENT_LIGHT_MAC_H_
+#define DEVICE_GENERIC_SENSOR_AMBIENT_LIGHT_MAC_H_
#include <IOKit/IOKitLib.h>
#include <stdint.h>
@@ -12,7 +12,7 @@
#include "base/macros.h"
-namespace content {
+namespace device {
// Provides an interface to retrieve ambient light data from MacBooks.
class AmbientLightSensor {
@@ -38,6 +38,6 @@ class AmbientLightSensor {
DISALLOW_COPY_AND_ASSIGN(AmbientLightSensor);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_DEVICE_SENSORS_AMBIENT_LIGHT_MAC_H_
+#endif // DEVICE_GENERIC_SENSOR_AMBIENT_LIGHT_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698