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

Unified Diff: services/device/device_service.h

Issue 2845763002: Remove DeviceLightEvent implementation (Closed)
Patch Set: same as previous patch Created 3 years, 8 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') | services/device/device_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/device/device_service.h
diff --git a/services/device/device_service.h b/services/device/device_service.h
index 952dc64cc04c59cb24b76d63165d76026048ad27..ffcac3df497ca24dc4a869d07417b417783d3b3e 100644
--- a/services/device/device_service.h
+++ b/services/device/device_service.h
@@ -9,7 +9,6 @@
#include "device/battery/battery_monitor.mojom.h"
#include "device/generic_sensor/public/interfaces/sensor_provider.mojom.h"
#include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h"
-#include "device/sensors/public/interfaces/light.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_context_provider.mojom.h"
@@ -47,7 +46,6 @@ std::unique_ptr<service_manager::Service> CreateDeviceService(
class DeviceService
: public service_manager::Service,
public service_manager::InterfaceFactory<mojom::Fingerprint>,
- public service_manager::InterfaceFactory<mojom::LightSensor>,
public service_manager::InterfaceFactory<mojom::MotionSensor>,
public service_manager::InterfaceFactory<mojom::OrientationSensor>,
public service_manager::InterfaceFactory<
@@ -86,10 +84,6 @@ class DeviceService
void Create(const service_manager::Identity& remote_identity,
mojom::FingerprintRequest request) override;
- // InterfaceFactory<mojom::LightSensor>:
- void Create(const service_manager::Identity& remote_identity,
- mojom::LightSensorRequest request) override;
-
// InterfaceFactory<mojom::MotionSensor>:
void Create(const service_manager::Identity& remote_identity,
mojom::MotionSensorRequest request) override;
« no previous file with comments | « device/sensors/sensor_manager_android_unittest.cc ('k') | services/device/device_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698