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

Unified Diff: services/device/generic_sensor/linux/sensor_device_manager.h

Issue 2865263002: Move //device/generic_sensor to be part of the internal implementation of the Device Service. (Closed)
Patch Set: code rebase Created 3 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: services/device/generic_sensor/linux/sensor_device_manager.h
diff --git a/device/generic_sensor/linux/sensor_device_manager.h b/services/device/generic_sensor/linux/sensor_device_manager.h
similarity index 86%
rename from device/generic_sensor/linux/sensor_device_manager.h
rename to services/device/generic_sensor/linux/sensor_device_manager.h
index 937e8e54e35d9cd36bb985accaf3aeae74e146e5..4d39f7c74431adcf8f53ba82f6261272cc11c590 100644
--- a/device/generic_sensor/linux/sensor_device_manager.h
+++ b/services/device/generic_sensor/linux/sensor_device_manager.h
@@ -2,15 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_
-#define DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_
+#ifndef SERVICES_DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_
+#define SERVICES_DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_
#include "base/scoped_observer.h"
#include "base/single_thread_task_runner.h"
#include "device/base/device_monitor_linux.h"
-#include "device/generic_sensor/generic_sensor_export.h"
-#include "device/generic_sensor/public/interfaces/sensor.mojom.h"
+#include "services/device/public/interfaces/sensor.mojom.h"
namespace device {
@@ -20,8 +19,7 @@ struct SensorInfoLinux;
// and listen to "add/removed" events to notify |provider_| about
// added or removed iio devices. It has own cache to speed up an identification
// process of removed devices.
-class DEVICE_GENERIC_SENSOR_EXPORT SensorDeviceManager
- : public DeviceMonitorLinux::Observer {
+class SensorDeviceManager : public DeviceMonitorLinux::Observer {
public:
class Delegate {
public:
@@ -83,4 +81,4 @@ class DEVICE_GENERIC_SENSOR_EXPORT SensorDeviceManager
} // namespace device
-#endif // DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_
+#endif // SERVICES_DEVICE_GENERIC_SENSOR_LINUX_SENSOR_DEVICE_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698