| 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 00984f7a1b5f09dce5244884ee5cbc96b9855ff5..45b626d8f3764db8521499c37729f264c1d33fdf 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -156,6 +156,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 "gpu/GLES2/gl2extchromium.h"
|
| #include "gpu/command_buffer/client/gpu_switches.h"
|
| #include "gpu/command_buffer/common/gles2_cmd_utils.h"
|
| @@ -1076,6 +1077,10 @@ void RenderProcessHostImpl::RegisterMojoServices() {
|
| #if !defined(OS_ANDROID)
|
| mojo_application_host_->service_registry()->AddService(
|
| base::Bind(&device::BatteryMonitorImpl::Create));
|
| +
|
| + mojo_application_host_->service_registry()->AddService(
|
| + base::Bind(&device::SensorImpl::Create));
|
| +
|
| #endif
|
|
|
| mojo_application_host_->service_registry()->AddService(
|
|
|