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 6f3c7f85dd179967a05477702d74ebea64419e42..f5d488386ad062f72d3f9aa482337417ea5415b5 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -164,7 +164,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" |
@@ -1204,9 +1203,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
#endif |
#if defined(OS_ANDROID) |
- AddUIThreadInterface(registry.get(), |
- GetGlobalJavaInterfaces() |
- ->CreateInterfaceFactory<device::BatteryMonitor>()); |
AddUIThreadInterface( |
registry.get(), GetGlobalJavaInterfaces() |
->CreateInterfaceFactory< |
@@ -1219,9 +1215,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
registry.get(), |
GetGlobalJavaInterfaces() |
->CreateInterfaceFactory<shape_detection::mojom::TextDetection>()); |
-#else |
- AddUIThreadInterface( |
- registry.get(), base::Bind(&device::BatteryMonitorImpl::Create)); |
#endif |
AddUIThreadInterface( |
registry.get(), |