Index: device/sensors/data_fetcher_shared_memory_default.cc |
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_default.cc b/device/sensors/data_fetcher_shared_memory_default.cc |
similarity index 89% |
rename from content/browser/device_sensors/data_fetcher_shared_memory_default.cc |
rename to device/sensors/data_fetcher_shared_memory_default.cc |
index 9e8dc3de3a9b501419fb71f6212247c49100f08f..d6dd665af68c190763cbc6694481ee7967f64260 100644 |
--- a/content/browser/device_sensors/data_fetcher_shared_memory_default.cc |
+++ b/device/sensors/data_fetcher_shared_memory_default.cc |
@@ -2,14 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "content/browser/device_sensors/data_fetcher_shared_memory.h" |
+#include "device/sensors/data_fetcher_shared_memory.h" |
#include "base/logging.h" |
#include "base/metrics/histogram_macros.h" |
namespace { |
-bool SetMotionBuffer(content::DeviceMotionHardwareBuffer* buffer, |
+bool SetMotionBuffer(device::DeviceMotionHardwareBuffer* buffer, |
bool enabled) { |
if (!buffer) |
return false; |
@@ -20,7 +20,7 @@ bool SetMotionBuffer(content::DeviceMotionHardwareBuffer* buffer, |
} |
bool SetOrientationBuffer( |
- content::DeviceOrientationHardwareBuffer* buffer, bool enabled) { |
+ device::DeviceOrientationHardwareBuffer* buffer, bool enabled) { |
if (!buffer) |
return false; |
buffer->seqlock.WriteBegin(); |
@@ -29,7 +29,7 @@ bool SetOrientationBuffer( |
return true; |
} |
-bool SetLightBuffer(content::DeviceLightHardwareBuffer* buffer, |
+bool SetLightBuffer(device::DeviceLightHardwareBuffer* buffer, |
double lux) { |
if (!buffer) |
return false; |
@@ -41,7 +41,7 @@ bool SetLightBuffer(content::DeviceLightHardwareBuffer* buffer, |
} // namespace |
-namespace content { |
+namespace device { |
DataFetcherSharedMemory::DataFetcherSharedMemory() {} |
@@ -92,4 +92,4 @@ bool DataFetcherSharedMemory::Stop(ConsumerType consumer_type) { |
return false; |
} |
-} // namespace content |
+} // namespace device |