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 e38a37fe43ddbcbc90c3f5e86419570f5acda79a..23724c4952a2e8d818db372639692b3160779711 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -40,6 +40,7 @@ |
#include "base/tracked_objects.h" |
#include "content/browser/appcache/appcache_dispatcher_host.h" |
#include "content/browser/appcache/chrome_appcache_service.h" |
+#include "content/browser/battery_status/battery_status_message_filter.h" |
#include "content/browser/browser_main.h" |
#include "content/browser/browser_main_loop.h" |
#include "content/browser/child_process_security_policy_impl.h" |
@@ -521,6 +522,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
#elif defined(OS_WIN) |
channel_->AddFilter(new FontCacheDispatcher()); |
#endif |
+ channel_->AddFilter(new content::BatteryStatusMessageFilter()); |
SocketStreamDispatcherHost* socket_stream_dispatcher_host = |
new SocketStreamDispatcherHost(GetID(), |