Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5d1fec5d4b1a3862d89342776983f2ae87de8623..83000e35869de497c5d1aaf9ee7ed97e1686cbe9 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -181,6 +181,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;
@@ -728,6 +732,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()));
« no previous file with comments | « no previous file | chrome/browser/media/webrtc_logging_handler_host.h » ('j') | chrome/browser/media/webrtc_logging_handler_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698