Index: services/device/generic_sensor/platform_sensor_reader_linux.cc |
diff --git a/device/generic_sensor/platform_sensor_reader_linux.cc b/services/device/generic_sensor/platform_sensor_reader_linux.cc |
similarity index 90% |
rename from device/generic_sensor/platform_sensor_reader_linux.cc |
rename to services/device/generic_sensor/platform_sensor_reader_linux.cc |
index a814e878e27def5d101502dfce07c82952ec50d0..521d780a7660fa303ba3d92d069cb51f9eaee189 100644 |
--- a/device/generic_sensor/platform_sensor_reader_linux.cc |
+++ b/services/device/generic_sensor/platform_sensor_reader_linux.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 "device/generic_sensor/platform_sensor_reader_linux.h" |
+#include "services/device/generic_sensor/platform_sensor_reader_linux.h" |
#include "base/files/file_util.h" |
#include "base/memory/ptr_util.h" |
@@ -11,9 +11,9 @@ |
#include "base/strings/string_util.h" |
#include "base/threading/thread_restrictions.h" |
#include "base/timer/timer.h" |
-#include "device/generic_sensor/linux/sensor_data_linux.h" |
-#include "device/generic_sensor/platform_sensor_linux.h" |
-#include "device/generic_sensor/public/cpp/sensor_reading.h" |
+#include "services/device/generic_sensor/linux/sensor_data_linux.h" |
+#include "services/device/generic_sensor/platform_sensor_linux.h" |
+#include "services/device/public/cpp/generic_sensor/sensor_reading.h" |
namespace device { |
@@ -86,10 +86,11 @@ void PollingSensorReader::InitializeTimer( |
const PlatformSensorConfiguration& configuration) { |
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); |
DCHECK(!is_reading_active_); |
- timer_.Start(FROM_HERE, base::TimeDelta::FromMicroseconds( |
- base::Time::kMicrosecondsPerSecond / |
- configuration.frequency()), |
- this, &PollingSensorReader::PollForData); |
+ timer_.Start( |
+ FROM_HERE, |
+ base::TimeDelta::FromMicroseconds(base::Time::kMicrosecondsPerSecond / |
+ configuration.frequency()), |
+ this, &PollingSensorReader::PollForData); |
is_reading_active_ = true; |
} |