| 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 b008fd747a6c9f48a80b82a3a540979bb7bcb276..76c986bb42e1e2f2e55001ebc7b2e1f66e3c01c6 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -166,7 +166,6 @@
|
| #include "content/public/common/sandboxed_process_launcher_delegate.h"
|
| #include "content/public/common/service_names.mojom.h"
|
| #include "content/public/common/url_constants.h"
|
| -#include "device/battery/battery_monitor_impl.h"
|
| #include "device/gamepad/gamepad_monitor.h"
|
| #include "gpu/GLES2/gl2extchromium.h"
|
| #include "gpu/command_buffer/client/gpu_switches.h"
|
| @@ -1209,9 +1208,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
|
| base::Bind(&IndexedDBDispatcherHost::AddBinding, indexed_db_factory_));
|
|
|
| #if defined(OS_ANDROID)
|
| - AddUIThreadInterface(registry.get(),
|
| - GetGlobalJavaInterfaces()
|
| - ->CreateInterfaceFactory<device::BatteryMonitor>());
|
| AddUIThreadInterface(
|
| registry.get(), GetGlobalJavaInterfaces()
|
| ->CreateInterfaceFactory<
|
| @@ -1226,8 +1222,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
|
| ->CreateInterfaceFactory<shape_detection::mojom::TextDetection>());
|
| #else
|
| AddUIThreadInterface(
|
| - registry.get(), base::Bind(&device::BatteryMonitorImpl::Create));
|
| - AddUIThreadInterface(
|
| registry.get(),
|
| base::Bind(&ForwardShapeDetectionRequest<
|
| shape_detection::mojom::BarcodeDetectionRequest>));
|
|
|