| 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 c629485f9059f0cd40fdcc431afc5543dfdf0eae..35d8b09adf4f0f8504a74f9cb0dcc463df0965af 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -104,6 +104,7 @@
|
| #include "content/browser/streams/stream_context.h"
|
| #include "content/browser/tracing/trace_message_filter.h"
|
| #include "content/browser/vibration/vibration_message_filter.h"
|
| +#include "content/browser/wake_lock/wake_lock_dispatcher_host.h"
|
| #include "content/browser/webui/web_ui_controller_factory_registry.h"
|
| #include "content/browser/worker_host/worker_message_filter.h"
|
| #include "content/browser/worker_host/worker_storage_partition.h"
|
| @@ -886,6 +887,8 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| AddFilter(new PushMessagingMessageFilter(
|
| GetID(), storage_partition_impl_->GetServiceWorkerContext()));
|
| AddFilter(new BatteryStatusMessageFilter());
|
| + AddFilter(new WakeLockDispatcherHost(GetID(),
|
| + browser_context->GetWakeLockPermissionContext()));
|
| }
|
|
|
| int RenderProcessHostImpl::GetNextRoutingID() {
|
|
|