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

Unified Diff: services/device/generic_sensor/sensor_provider_impl.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/sensor_provider_impl.h
diff --git a/device/generic_sensor/sensor_provider_impl.h b/services/device/generic_sensor/sensor_provider_impl.h
similarity index 78%
rename from device/generic_sensor/sensor_provider_impl.h
rename to services/device/generic_sensor/sensor_provider_impl.h
index 3435f12351c82bad804baec6eb04cbcfa3c47a8c..d99f0eafd2d26a4d635dbde01c491748be1e0dcd 100644
--- a/device/generic_sensor/sensor_provider_impl.h
+++ b/services/device/generic_sensor/sensor_provider_impl.h
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DEVICE_GENERIC_SENSOR_SENSOR_PROVIDER_IMPL_H_
-#define DEVICE_GENERIC_SENSOR_SENSOR_PROVIDER_IMPL_H_
+#ifndef SERVICES_DEVICE_GENERIC_SENSOR_SENSOR_PROVIDER_IMPL_H_
+#define SERVICES_DEVICE_GENERIC_SENSOR_SENSOR_PROVIDER_IMPL_H_
#include "base/macros.h"
#include "base/single_thread_task_runner.h"
-#include "device/generic_sensor/generic_sensor_export.h"
-#include "device/generic_sensor/public/interfaces/sensor_provider.mojom.h"
+#include "services/device/public/interfaces/sensor_provider.mojom.h"
namespace device {
@@ -18,8 +17,7 @@ class PlatformSensor;
// Implementation of SensorProvider mojo interface.
// Uses PlatformSensorProvider singleton to create platform specific instances
// of PlatformSensor which are used by SensorImpl.
-class DEVICE_GENERIC_SENSOR_EXPORT SensorProviderImpl final
- : public mojom::SensorProvider {
+class SensorProviderImpl final : public mojom::SensorProvider {
public:
static void Create(
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner,
@@ -50,4 +48,4 @@ class DEVICE_GENERIC_SENSOR_EXPORT SensorProviderImpl final
} // namespace device
-#endif // DEVICE_GENERIC_SENSOR_SENSOR_PROVIDER_IMPL_H_
+#endif // SERVICES_DEVICE_GENERIC_SENSOR_SENSOR_PROVIDER_IMPL_H_
« no previous file with comments | « services/device/generic_sensor/sensor_impl.cc ('k') | services/device/generic_sensor/sensor_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698