Index: device/sensors/device_sensor_service.h |
diff --git a/content/browser/device_sensors/device_sensor_service.h b/device/sensors/device_sensor_service.h |
similarity index 84% |
rename from content/browser/device_sensors/device_sensor_service.h |
rename to device/sensors/device_sensor_service.h |
index 00946b484ae160a329029147e4255bf3a4dd2d63..17ae9f82a00473fd800018b29ab2de1ab5e338ea 100644 |
--- a/content/browser/device_sensors/device_sensor_service.h |
+++ b/device/sensors/device_sensor_service.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_DEVICE_SENSOR_SERVICE_H_ |
-#define CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_SENSOR_SERVICE_H_ |
+#ifndef DEVICE_SENSORS_DEVICE_SENSOR_SERVICE_H_ |
+#define DEVICE_SENSORS_DEVICE_SENSOR_SERVICE_H_ |
#include <memory> |
@@ -12,18 +12,18 @@ |
#include "base/memory/shared_memory.h" |
#include "base/memory/singleton.h" |
#include "base/threading/thread_checker.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 { |
class DataFetcherSharedMemory; |
// Owns the data fetcher for Device Motion and Orientation and keeps track of |
// the number of consumers currently using the data. The data fetcher is stopped |
// when there are no consumers. |
-class CONTENT_EXPORT DeviceSensorService { |
+class DEVICE_SENSOR_EXPORT DeviceSensorService { |
public: |
// Returns the DeviceSensorService singleton. |
static DeviceSensorService* GetInstance(); |
@@ -68,6 +68,6 @@ class CONTENT_EXPORT DeviceSensorService { |
DISALLOW_COPY_AND_ASSIGN(DeviceSensorService); |
}; |
-} // namespace content |
+} // namespace device |
-#endif // CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_SENSOR_SERVICE_H_ |
+#endif // DEVICE_SENSORS_DEVICE_SENSOR_SERVICE_H_ |