Index: content/browser/device_sensors/data_fetcher_shared_memory_base.cc |
diff --git a/content/browser/device_orientation/data_fetcher_shared_memory_base.cc b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc |
similarity index 95% |
rename from content/browser/device_orientation/data_fetcher_shared_memory_base.cc |
rename to content/browser/device_sensors/data_fetcher_shared_memory_base.cc |
index 690d1f8aa7f83e3b83369312efa102632434c837..77163170e9c0ae42311ad8115304f633a755df3b 100644 |
--- a/content/browser/device_orientation/data_fetcher_shared_memory_base.cc |
+++ b/content/browser/device_sensors/data_fetcher_shared_memory_base.cc |
@@ -2,15 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "content/browser/device_orientation/data_fetcher_shared_memory_base.h" |
+#include "content/browser/device_sensors/data_fetcher_shared_memory_base.h" |
#include "base/bind.h" |
#include "base/logging.h" |
#include "base/stl_util.h" |
#include "base/threading/thread.h" |
#include "base/timer/timer.h" |
-#include "content/common/device_orientation/device_motion_hardware_buffer.h" |
-#include "content/common/device_orientation/device_orientation_hardware_buffer.h" |
+#include "content/common/device_sensors/device_motion_hardware_buffer.h" |
+#include "content/common/device_sensors/device_orientation_hardware_buffer.h" |
namespace content { |
@@ -28,7 +28,7 @@ static size_t GetConsumerSharedMemoryBufferSize(ConsumerType consumer_type) { |
return 0; |
} |
-} |
+} // namespace |
class DataFetcherSharedMemoryBase::PollingThread : public base::Thread { |
public: |
@@ -42,7 +42,6 @@ class DataFetcherSharedMemoryBase::PollingThread : public base::Thread { |
bool IsTimerRunning() const { return timer_ ? timer_->IsRunning() : false; } |
private: |
- |
void DoPoll(); |
unsigned consumers_bitmask_; |
@@ -89,7 +88,7 @@ void DataFetcherSharedMemoryBase::PollingThread::RemoveConsumer( |
consumers_bitmask_ ^= consumer_type; |
if (!consumers_bitmask_) |
- timer_.reset(); // will also stop the timer. |
+ timer_.reset(); // will also stop the timer. |
} |
void DataFetcherSharedMemoryBase::PollingThread::DoPoll() { |