Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 87f22e9641c4e0efda32847d3120ec1fe7450974..00652a02ed78fdbc0cb44e2f36072f283d8f08f3 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -182,6 +182,10 @@ |
#include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h" |
#endif |
+#if defined(ENABLE_WEBRTC) |
+#include "chrome/browser/media/webrtc_logging_handler_host.h" |
+#endif |
+ |
using base::FileDescriptor; |
using content::AccessTokenStore; |
using content::BrowserChildProcessHostIterator; |
@@ -730,6 +734,9 @@ void ChromeContentBrowserClient::RenderProcessHostCreated( |
new prerender::PrerenderMessageFilter(id, profile)); |
host->GetChannel()->AddFilter(new ValidationMessageMessageFilter(id)); |
host->GetChannel()->AddFilter(new TtsMessageFilter(id, profile)); |
+#if defined(ENABLE_WEBRTC) |
+ host->GetChannel()->AddFilter(new WebRtcLoggingHandlerHost()); |
+#endif |
host->Send(new ChromeViewMsg_SetIsIncognitoProcess( |
profile->IsOffTheRecord())); |