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 89ce30b31724b5339618a1d42a7e178e895c571a..135a0e72d954d2a3ac2502843b1da3104e690724 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -42,6 +42,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" |
@@ -579,6 +580,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(), |