| 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 8454ae387d131789e7e0dc4b194921328f4c5b31..452b758741f06e10c6538e6d51e26c746147bc38 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -118,6 +118,10 @@
|
| #include "content/browser/speech/input_tag_speech_dispatcher_host.h"
|
| #endif
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +#include "content/browser/battery_status/battery_status_message_filter.h"
|
| +#endif
|
| +
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
|
|
| using content::BrowserContext;
|
| @@ -522,6 +526,10 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| channel_->AddFilter(new FontCacheDispatcher());
|
| #endif
|
|
|
| +#if defined(OS_CHROMEOS)
|
| + channel_->AddFilter(new BatteryStatusMessageFilter());
|
| +#endif
|
| +
|
| SocketStreamDispatcherHost* socket_stream_dispatcher_host =
|
| new SocketStreamDispatcherHost(GetID(),
|
| new RendererURLRequestContextSelector(browser_context, GetID()),
|
|
|