| 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 0de0be4a4f8c0e815be76ea25ab784bc5e62d71d..dc052fb882abddc6faa7f6577c914e6605306512 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -111,7 +111,6 @@
|
| #include "content/browser/renderer_host/render_widget_helper.h"
|
| #include "content/browser/renderer_host/render_widget_host_impl.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_wrapper.h"
|
| #include "content/browser/service_worker/service_worker_dispatcher_host.h"
|
| @@ -121,6 +120,7 @@
|
| #include "content/browser/storage_partition_impl.h"
|
| #include "content/browser/streams/stream_context.h"
|
| #include "content/browser/tracing/trace_message_filter.h"
|
| +#include "content/browser/websockets/websocket_manager.h"
|
| #include "content/browser/webui/web_ui_controller_factory_registry.h"
|
| #include "content/common/child_process_host_impl.h"
|
| #include "content/common/child_process_messages.h"
|
| @@ -988,15 +988,6 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| AddFilter(new BrowserCdmManager(GetID(), NULL));
|
| #endif
|
|
|
| - WebSocketDispatcherHost::GetRequestContextCallback
|
| - websocket_request_context_callback(
|
| - base::Bind(&GetRequestContext, request_context, media_request_context,
|
| - RESOURCE_TYPE_SUB_RESOURCE));
|
| -
|
| - AddFilter(new WebSocketDispatcherHost(
|
| - GetID(), websocket_request_context_callback, blob_storage_context.get(),
|
| - storage_partition_impl_));
|
| -
|
| message_port_message_filter_ = new MessagePortMessageFilter(
|
| base::Bind(&RenderWidgetHelper::GetNextRoutingID,
|
| base::Unretained(widget_helper_.get())));
|
| @@ -1119,6 +1110,9 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
|
| base::Bind(&CreateMemoryCoordinatorHandle, GetID()));
|
| }
|
|
|
| + GetInterfaceRegistry()->AddInterface(
|
| + base::Bind(&WebSocketManager::CreateWebSocket, GetID()));
|
| +
|
| #if defined(OS_ANDROID)
|
| ServiceRegistrarAndroid::RegisterProcessHostServices(
|
| mojo_child_connection_->service_registry_android());
|
|
|