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 2b6ebf180a7e2bfd21fbfa1e196148216e51a1d4..529a00d5e934c7688e8c70334fdb22dfd1f5458d 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -44,6 +44,8 @@ |
#include "content/browser/child_process_security_policy_impl.h" |
#include "content/browser/device_sensors/device_motion_message_filter.h" |
#include "content/browser/device_sensors/device_orientation_message_filter.h" |
+#include "content/browser/battery_status/battery_status_message_filter.h" |
+ |
#include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
#include "content/browser/dom_storage/dom_storage_message_filter.h" |
#include "content/browser/download/mhtml_generation_manager.h" |
@@ -811,6 +813,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
AddFilter(new GamepadBrowserMessageFilter()); |
AddFilter(new DeviceMotionMessageFilter()); |
AddFilter(new DeviceOrientationMessageFilter()); |
+ AddFilter(new BatteryStatusMessageFilter()); |
AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); |
AddFilter(new HistogramMessageFilter()); |
#if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID)) |