Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Unified Diff: device/device_sensors/sensor_manager_chromeos.h

Issue 1164563003: Extract device_sensors to /device via Mojofication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/device_sensors/sensor_manager_chromeos.h
diff --git a/content/browser/device_sensors/sensor_manager_chromeos.h b/device/device_sensors/sensor_manager_chromeos.h
similarity index 81%
rename from content/browser/device_sensors/sensor_manager_chromeos.h
rename to device/device_sensors/sensor_manager_chromeos.h
index 74c4acecbc7f119c5e649fdc03024ea3cfc2e40b..5dfbd60af2ed22442064266d8bf8485f30d0f1d4 100644
--- a/content/browser/device_sensors/sensor_manager_chromeos.h
+++ b/device/device_sensors/sensor_manager_chromeos.h
@@ -2,22 +2,22 @@
// 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_SENSOR_MANAGER_CHROMEOS_H_
-#define CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_CHROMEOS_H_
+#ifndef DEVICE_DEVICE_SENSORS_SENSOR_MANAGER_CHROMEOS_H_
+#define DEVICE_DEVICE_SENSORS_SENSOR_MANAGER_CHROMEOS_H_
#include "base/macros.h"
#include "base/threading/thread_checker.h"
#include "chromeos/accelerometer/accelerometer_reader.h"
#include "chromeos/accelerometer/accelerometer_types.h"
-#include "content/common/content_export.h"
-#include "content/common/device_sensors/device_motion_hardware_buffer.h"
-#include "content/common/device_sensors/device_orientation_hardware_buffer.h"
+#include "device/device_sensors/device_motion_hardware_buffer.h"
+#include "device/device_sensors/device_orientation_hardware_buffer.h"
+#include "device/device_sensors/device_sensors_export.h"
-namespace content {
+namespace device {
// Observes Chrome OS accelerometer sensors, and provides updated device
// orientation information.
-class CONTENT_EXPORT SensorManagerChromeOS
+class DEVICE_SENSORS_EXPORT SensorManagerChromeOS
: public chromeos::AccelerometerReader::Observer {
public:
SensorManagerChromeOS();
@@ -64,6 +64,6 @@ class CONTENT_EXPORT SensorManagerChromeOS
DISALLOW_COPY_AND_ASSIGN(SensorManagerChromeOS);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_CHROMEOS_H_
+#endif // DEVICE_DEVICE_SENSORS_SENSOR_MANAGER_CHROMEOS_H_
« no previous file with comments | « device/device_sensors/sensor_manager_android_unittest.cc ('k') | device/device_sensors/sensor_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698