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

Unified Diff: device/sensors/ambient_light_mac.cc

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/ambient_light_mac.h ('k') | device/sensors/android/device_sensor_jni_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/sensors/ambient_light_mac.cc
diff --git a/content/browser/device_sensors/ambient_light_mac.cc b/device/sensors/ambient_light_mac.cc
similarity index 96%
rename from content/browser/device_sensors/ambient_light_mac.cc
rename to device/sensors/ambient_light_mac.cc
index c6606791bd35ef399d186bc46e84c336f61f51a4..9d2417d47870faa3df636b36421d27b4a3799820 100644
--- a/content/browser/device_sensors/ambient_light_mac.cc
+++ b/device/sensors/ambient_light_mac.cc
@@ -4,14 +4,14 @@
// This file is based on http://osxbook.com/book/bonus/chapter10/light/
-#include "content/browser/device_sensors/ambient_light_mac.h"
+#include "device/sensors/ambient_light_mac.h"
#include <utility>
#include "base/mac/scoped_cftyperef.h"
#include "base/mac/scoped_ioobject.h"
-namespace content {
+namespace device {
namespace {
enum LmuFunctionIndex {
@@ -77,4 +77,4 @@ bool AmbientLightSensor::ReadSensorValue(uint64_t lux_values[2]) {
return kr == KERN_SUCCESS;
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/sensors/ambient_light_mac.h ('k') | device/sensors/android/device_sensor_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698