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

Unified Diff: device/device_sensors/ambient_light_mac.cc

Issue 1164563003: Extract device_sensors to /device via Mojofication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/device_sensors/ambient_light_mac.h ('k') | device/device_sensors/data_fetcher_shared_memory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/device_sensors/ambient_light_mac.cc
diff --git a/content/browser/device_sensors/ambient_light_mac.cc b/device/device_sensors/ambient_light_mac.cc
similarity index 96%
rename from content/browser/device_sensors/ambient_light_mac.cc
rename to device/device_sensors/ambient_light_mac.cc
index 187f6a0697d21c93312b079c5448a832f91ff085..6ff363d7d167fdb6ee2514386b289a0c5ef55649 100644
--- a/content/browser/device_sensors/ambient_light_mac.cc
+++ b/device/device_sensors/ambient_light_mac.cc
@@ -4,12 +4,12 @@
// This file is based on http://osxbook.com/book/bonus/chapter10/light/
-#include "content/browser/device_sensors/ambient_light_mac.h"
+#include "device/device_sensors/ambient_light_mac.h"
#include "base/mac/scoped_cftyperef.h"
#include "base/mac/scoped_ioobject.h"
-namespace content {
+namespace device {
namespace {
enum LmuFunctionIndex {
@@ -75,4 +75,4 @@ bool AmbientLightSensor::ReadSensorValue(uint64_t lux_values[2]) {
return kr == KERN_SUCCESS;
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/device_sensors/ambient_light_mac.h ('k') | device/device_sensors/data_fetcher_shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698