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

Unified Diff: device/sensors/sensor_manager_chromeos.h

Issue 2646093002: Move //content/browser/device_sensor/ into device/sensors (Closed)
Patch Set: gn format & code rebase Created 3 years, 11 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
« no previous file with comments | « device/sensors/sensor_manager_android_unittest.cc ('k') | device/sensors/sensor_manager_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/sensors/sensor_manager_chromeos.h
diff --git a/content/browser/device_sensors/sensor_manager_chromeos.h b/device/sensors/sensor_manager_chromeos.h
similarity index 87%
rename from content/browser/device_sensors/sensor_manager_chromeos.h
rename to device/sensors/sensor_manager_chromeos.h
index 7af9231b69e79a9065d48e7c561853838de3d8c8..8557a9b1ac8490cc4e0a039d46731c79a4bdfa13 100644
--- a/content/browser/device_sensors/sensor_manager_chromeos.h
+++ b/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_SENSORS_SENSOR_MANAGER_CHROMEOS_H_
+#define 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 "device/sensors/device_sensor_export.h"
#include "device/sensors/public/cpp/device_motion_hardware_buffer.h"
#include "device/sensors/public/cpp/device_orientation_hardware_buffer.h"
-namespace content {
+namespace device {
// Observes Chrome OS accelerometer sensors, and provides updated device
// orientation information.
-class CONTENT_EXPORT SensorManagerChromeOS
+class DEVICE_SENSOR_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_SENSORS_SENSOR_MANAGER_CHROMEOS_H_
« no previous file with comments | « device/sensors/sensor_manager_android_unittest.cc ('k') | device/sensors/sensor_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698