| 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 d6fb90e848c5cf5ed29efaedf491d74157cc3e95..79685ac5c2f505353dec5a1651376833c500c4ad 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -93,6 +93,7 @@
|
| #include "content/browser/renderer_host/render_widget_host_impl.h"
|
| #include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
|
| #include "content/browser/renderer_host/text_input_client_message_filter.h"
|
| +#include "content/browser/renderer_host/websocket_dispatcher_host.h"
|
| #include "content/browser/resolve_proxy_msg_helper.h"
|
| #include "content/browser/service_worker/service_worker_context.h"
|
| #include "content/browser/service_worker/service_worker_dispatcher_host.h"
|
| @@ -673,6 +674,13 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| GetID(), request_context_callback, resource_context);
|
| AddFilter(socket_stream_dispatcher_host);
|
|
|
| + WebSocketDispatcherHost::GetRequestContextCallback
|
| + websocket_request_context_callback(
|
| + base::Bind(&GetRequestContext, request_context,
|
| + media_request_context, ResourceType::SUB_RESOURCE));
|
| +
|
| + AddFilter(new WebSocketDispatcherHost(websocket_request_context_callback));
|
| +
|
| AddFilter(new WorkerMessageFilter(
|
| GetID(),
|
| resource_context,
|
|
|