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

Unified Diff: services/device/generic_sensor/platform_sensor_provider_win.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/platform_sensor_provider_win.h
diff --git a/device/generic_sensor/platform_sensor_provider_win.h b/services/device/generic_sensor/platform_sensor_provider_win.h
similarity index 83%
rename from device/generic_sensor/platform_sensor_provider_win.h
rename to services/device/generic_sensor/platform_sensor_provider_win.h
index 9cdacb44c225c71a59193133293aa30536b20053..f22c79f599c8f91f646cf323b1cb38245de55590 100644
--- a/device/generic_sensor/platform_sensor_provider_win.h
+++ b/services/device/generic_sensor/platform_sensor_provider_win.h
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_WIN_H_
-#define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_WIN_H_
+#ifndef SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_WIN_H_
+#define SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_WIN_H_
#include <SensorsApi.h>
#include "base/win/scoped_comptr.h"
-#include "device/generic_sensor/generic_sensor_export.h"
-#include "device/generic_sensor/platform_sensor_provider.h"
+#include "services/device/generic_sensor/platform_sensor_provider.h"
namespace base {
template <typename T>
@@ -26,8 +25,7 @@ class PlatformSensorReaderWin;
// - Starts sensor thread and stops it when there are no active sensors.
// - Initialises ISensorManager and creates sensor reader on sensor thread.
// - Constructs PlatformSensorWin on IPC thread and returns it to requester.
-class DEVICE_GENERIC_SENSOR_EXPORT PlatformSensorProviderWin final
- : public PlatformSensorProvider {
+class PlatformSensorProviderWin final : public PlatformSensorProvider {
public:
static PlatformSensorProviderWin* GetInstance();
@@ -70,4 +68,4 @@ class DEVICE_GENERIC_SENSOR_EXPORT PlatformSensorProviderWin final
} // namespace device
-#endif // DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_WIN_H_
+#endif // SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698