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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 264793017: Implements RTP header dumping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 74504b5c634d7650c06bfd67ca7512a4b47fdc7e..5d45f07b0e792727a9d9a082fab482a14ac702ff 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -921,6 +921,8 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
new WebRtcLoggingHandlerHost(profile);
host->SetWebRtcLogMessageCallback(base::Bind(
&WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host));
+ host->SetWebRtcRtpPacketCallback(base::Bind(
+ &WebRtcLoggingHandlerHost::OnRtpPacket, webrtc_logging_handler_host));
host->AddFilter(webrtc_logging_handler_host);
host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>(
webrtc_logging_handler_host));

Powered by Google App Engine
This is Rietveld 408576698