Index: device/sensors/data_fetcher_shared_memory_win.cc |
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_win.cc b/device/sensors/data_fetcher_shared_memory_win.cc |
similarity index 98% |
rename from content/browser/device_sensors/data_fetcher_shared_memory_win.cc |
rename to device/sensors/data_fetcher_shared_memory_win.cc |
index b2a6ad9f61d3782a617840cbbbabad7876c84b05..38e81dbe322722d78462fe4360745c70ba78fbb0 100644 |
--- a/content/browser/device_sensors/data_fetcher_shared_memory_win.cc |
+++ b/device/sensors/data_fetcher_shared_memory_win.cc |
@@ -2,7 +2,7 @@ |
// 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 <GuidDef.h> |
#include <InitGuid.h> |
@@ -19,7 +19,7 @@ namespace { |
const double kMeanGravity = 9.80665; |
-void SetLightBuffer(content::DeviceLightHardwareBuffer* buffer, double lux) { |
+void SetLightBuffer(device::DeviceLightHardwareBuffer* buffer, double lux) { |
DCHECK(buffer); |
buffer->seqlock.WriteBegin(); |
buffer->data.value = lux; |
@@ -28,8 +28,7 @@ void SetLightBuffer(content::DeviceLightHardwareBuffer* buffer, double lux) { |
} // namespace |
- |
-namespace content { |
+namespace device { |
class DataFetcherSharedMemory::SensorEventSink |
: public ISensorEvents, public base::win::IUnknownImpl { |
@@ -494,4 +493,4 @@ void DataFetcherSharedMemory::SetBufferAvailableState( |
} |
} |
-} // namespace content |
+} // namespace device |