Index: services/device/device_service.h |
diff --git a/services/device/device_service.h b/services/device/device_service.h |
index 5b66d3e48e3e308dab30e69bdf84cfd81ce9227b..cd38c23600321e04beb869169ec5dd46547dca17 100644 |
--- a/services/device/device_service.h |
+++ b/services/device/device_service.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/ref_counted.h" |
#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" |
@@ -60,6 +61,7 @@ class DeviceService |
public service_manager::InterfaceFactory<mojom::PowerMonitor>, |
public service_manager::InterfaceFactory< |
mojom::ScreenOrientationListener>, |
+ public service_manager::InterfaceFactory<mojom::SensorProvider>, |
public service_manager::InterfaceFactory<mojom::TimeZoneMonitor>, |
public service_manager::InterfaceFactory<mojom::WakeLockContextProvider> { |
public: |
@@ -117,6 +119,10 @@ class DeviceService |
void Create(const service_manager::Identity& remote_identity, |
mojom::ScreenOrientationListenerRequest request) override; |
+ // InterfaceFactory<mojom::SensorProvider>: |
+ void Create(const service_manager::Identity& remote_identity, |
+ mojom::SensorProviderRequest request) override; |
+ |
// InterfaceFactory<mojom::TimeZoneMonitor>: |
void Create(const service_manager::Identity& remote_identity, |
mojom::TimeZoneMonitorRequest request) override; |