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

Unified Diff: services/device/device_service.h

Issue 2885203004: Refactor content/renderer/device_sensors to use device/generic_sensor instead of device/sensors (Closed)
Patch Set: updated content/renderer/BUILD.gn 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/device_service.h
diff --git a/services/device/device_service.h b/services/device/device_service.h
index 127fa9058e3eb726e85a6c5bec4e948fbdacce45..750d87043c6625ab0b16aea8c675859e9127e21d 100644
--- a/services/device/device_service.h
+++ b/services/device/device_service.h
@@ -9,8 +9,6 @@
#include "device/generic_sensor/public/interfaces/sensor_provider.mojom.h"
#include "device/nfc/nfc_provider.mojom.h"
#include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h"
-#include "device/sensors/public/interfaces/motion.mojom.h"
-#include "device/sensors/public/interfaces/orientation.mojom.h"
#include "device/wake_lock/public/interfaces/wake_lock_provider.mojom.h"
#include "device/wake_lock/wake_lock_service_context.h"
#include "mojo/public/cpp/bindings/binding_set.h"
@@ -75,18 +73,6 @@ class DeviceService : public service_manager::Service {
const service_manager::BindSourceInfo& source_info,
mojom::FingerprintRequest request);
- void BindMotionSensorRequest(
- const service_manager::BindSourceInfo& source_info,
- mojom::MotionSensorRequest request);
-
- void BindOrientationSensorRequest(
- const service_manager::BindSourceInfo& source_info,
- mojom::OrientationSensorRequest request);
-
- void BindOrientationAbsoluteSensorRequest(
- const service_manager::BindSourceInfo& source_info,
- mojom::OrientationAbsoluteSensorRequest request);
-
#if !defined(OS_ANDROID)
void BindBatteryMonitorRequest(
const service_manager::BindSourceInfo& source_info,

Powered by Google App Engine
This is Rietveld 408576698