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 21c20c9fa3cb30f9d94e39ee60cda8f577ca6f4b..f53a99424a64926766e03d370e315b602c70f7b0 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -73,7 +73,6 @@ |
#include "content/browser/renderer_host/media/audio_mirroring_manager.h" |
#include "content/browser/renderer_host/media/audio_renderer_host.h" |
#include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" |
-#include "content/browser/renderer_host/media/peer_connection_tracker_host.h" |
#include "content/browser/renderer_host/media/video_capture_host.h" |
#include "content/browser/renderer_host/memory_benchmark_message_filter.h" |
#include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" |
@@ -135,6 +134,11 @@ |
#include "content/public/common/sandboxed_process_launcher_delegate.h" |
#endif |
+#if defined(ENABLE_WEBRTC) |
+#include "content/browser/renderer_host/media/dtls_identity_service_host.h" |
+#include "content/browser/renderer_host/media/peer_connection_tracker_host.h" |
+#endif |
+ |
#include "third_party/skia/include/core/SkBitmap.h" |
extern bool g_exited_main_message_loop; |
@@ -635,6 +639,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); |
channel_->AddFilter(gpu_message_filter_); |
#if defined(ENABLE_WEBRTC) |
+ channel_->AddFilter(new DTLSIdentityServiceHost()); |
peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); |
channel_->AddFilter(peer_connection_tracker_host_.get()); |
channel_->AddFilter(new MediaStreamDispatcherHost(GetID())); |