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

Side by Side 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: Add WebRtcRtpDumpWriter 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 host->AddFilter(new SpellCheckMessageFilterMac(id)); 912 host->AddFilter(new SpellCheckMessageFilterMac(id));
913 #endif 913 #endif
914 host->AddFilter(new ChromeNetBenchmarkingMessageFilter(profile, context)); 914 host->AddFilter(new ChromeNetBenchmarkingMessageFilter(profile, context));
915 host->AddFilter(new prerender::PrerenderMessageFilter(id, profile)); 915 host->AddFilter(new prerender::PrerenderMessageFilter(id, profile));
916 host->AddFilter(new TtsMessageFilter(id, profile)); 916 host->AddFilter(new TtsMessageFilter(id, profile));
917 #if defined(ENABLE_WEBRTC) 917 #if defined(ENABLE_WEBRTC)
918 WebRtcLoggingHandlerHost* webrtc_logging_handler_host = 918 WebRtcLoggingHandlerHost* webrtc_logging_handler_host =
919 new WebRtcLoggingHandlerHost(profile); 919 new WebRtcLoggingHandlerHost(profile);
920 host->SetWebRtcLogMessageCallback(base::Bind( 920 host->SetWebRtcLogMessageCallback(base::Bind(
921 &WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host)); 921 &WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host));
922 host->SetWebRtcRtpPacketCallback(base::Bind(
923 &WebRtcLoggingHandlerHost::OnRtpPacket, webrtc_logging_handler_host));
922 host->AddFilter(webrtc_logging_handler_host); 924 host->AddFilter(webrtc_logging_handler_host);
923 host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>( 925 host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>(
924 webrtc_logging_handler_host)); 926 webrtc_logging_handler_host));
925 #endif 927 #endif
926 #if !defined(DISABLE_NACL) 928 #if !defined(DISABLE_NACL)
927 host->AddFilter(new nacl::NaClHostMessageFilter( 929 host->AddFilter(new nacl::NaClHostMessageFilter(
928 id, profile->IsOffTheRecord(), 930 id, profile->IsOffTheRecord(),
929 profile->GetPath(), 931 profile->GetPath(),
930 context)); 932 context));
931 #endif 933 #endif
(...skipping 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after
2679 switches::kDisableWebRtcEncryption, 2681 switches::kDisableWebRtcEncryption,
2680 }; 2682 };
2681 to_command_line->CopySwitchesFrom(from_command_line, 2683 to_command_line->CopySwitchesFrom(from_command_line,
2682 kWebRtcDevSwitchNames, 2684 kWebRtcDevSwitchNames,
2683 arraysize(kWebRtcDevSwitchNames)); 2685 arraysize(kWebRtcDevSwitchNames));
2684 } 2686 }
2685 } 2687 }
2686 #endif // defined(ENABLE_WEBRTC) 2688 #endif // defined(ENABLE_WEBRTC)
2687 2689
2688 } // namespace chrome 2690 } // namespace chrome
OLDNEW
« 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