Index: device/sensors/data_fetcher_shared_memory_base.h |
diff --git a/content/browser/device_sensors/data_fetcher_shared_memory_base.h b/device/sensors/data_fetcher_shared_memory_base.h |
similarity index 88% |
rename from content/browser/device_sensors/data_fetcher_shared_memory_base.h |
rename to device/sensors/data_fetcher_shared_memory_base.h |
index f8326aac03791e2272280f3d97db6e450aa4539f..2fa3663c019504d9db518fbf3207d56139c644ce 100644 |
--- a/content/browser/device_sensors/data_fetcher_shared_memory_base.h |
+++ b/device/sensors/data_fetcher_shared_memory_base.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ |
-#define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ |
+#ifndef DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ |
+#define DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ |
#include <map> |
#include <memory> |
@@ -11,18 +11,18 @@ |
#include "base/macros.h" |
#include "base/memory/shared_memory.h" |
#include "base/message_loop/message_loop.h" |
-#include "content/browser/device_sensors/device_sensors_consts.h" |
-#include "content/common/content_export.h" |
+#include "device/sensors/device_sensor_export.h" |
+#include "device/sensors/device_sensors_consts.h" |
#include "mojo/public/cpp/system/buffer.h" |
-namespace content { |
+namespace device { |
// Sensor data fetchers should derive from this base class and implement |
// the abstract Start() and Stop() methods. |
// If the fetcher requires polling it should also implement IsPolling() |
// to return true and the Fetch() method which will be called from the |
// polling thread to fetch data at regular intervals. |
-class CONTENT_EXPORT DataFetcherSharedMemoryBase { |
+class DEVICE_SENSOR_EXPORT DataFetcherSharedMemoryBase { |
public: |
// Starts updating the shared memory buffer with sensor data at |
// regular intervals. Returns true if the relevant sensors could |
@@ -98,6 +98,6 @@ class CONTENT_EXPORT DataFetcherSharedMemoryBase { |
DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemoryBase); |
}; |
-} // namespace content |
+} // namespace device |
-#endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ |
+#endif // DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ |