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 d62cada4e1e5e9b77ccb5a07d3da49e1bbedfd14..929f021ec131526a2bf24d43bbf040c982cddce3 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 BatteryStatusMessageFilter()); |
SocketStreamDispatcherHost* socket_stream_dispatcher_host = |
new SocketStreamDispatcherHost(GetID(), |