Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 2e6511c97c4e5638bfdcb4a2dee13a19ad782ab5..a4e60d04982fc655267f118604b52744f8aecca6 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -159,6 +159,7 @@ |
#include "content/public/common/sandboxed_process_launcher_delegate.h" |
#include "content/public/common/url_constants.h" |
#include "device/battery/battery_monitor_impl.h" |
+#include "device/sensor/sensor_impl.h" |
#include "device/vibration/vibration_manager_impl.h" |
#include "gpu/GLES2/gl2extchromium.h" |
#include "gpu/command_buffer/client/gpu_switches.h" |
@@ -1076,6 +1077,9 @@ void RenderProcessHostImpl::RegisterMojoServices() { |
base::Bind(&device::BatteryMonitorImpl::Create)); |
mojo_application_host_->service_registry()->AddService( |
+ base::Bind(&device::SensorImpl::Create)); |
+ |
+ mojo_application_host_->service_registry()->AddService( |
base::Bind(&device::VibrationManagerImpl::Create)); |
#endif |