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

Unified Diff: device/sensors/ambient_light_mac.h

Issue 2646093002: Move //content/browser/device_sensor/ into device/sensors (Closed)
Patch Set: gn format & code rebase Created 3 years, 11 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
« no previous file with comments | « device/sensors/DEPS ('k') | device/sensors/ambient_light_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/sensors/ambient_light_mac.h
diff --git a/content/browser/device_sensors/ambient_light_mac.h b/device/sensors/ambient_light_mac.h
similarity index 80%
rename from content/browser/device_sensors/ambient_light_mac.h
rename to device/sensors/ambient_light_mac.h
index 6d4af75ce80c20c828a86d0708ec7799cb3a09b2..f777dbc743ef2e394ff15a4d368e2be57290ce27 100644
--- a/content/browser/device_sensors/ambient_light_mac.h
+++ b/device/sensors/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_SENSORS_AMBIENT_LIGHT_MAC_H_
+#define DEVICE_SENSORS_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_SENSORS_AMBIENT_LIGHT_MAC_H_
« no previous file with comments | « device/sensors/DEPS ('k') | device/sensors/ambient_light_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698