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

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: 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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 host->AddFilter(new SpellCheckMessageFilterMac(id)); 914 host->AddFilter(new SpellCheckMessageFilterMac(id));
915 #endif 915 #endif
916 host->AddFilter(new ChromeNetBenchmarkingMessageFilter(profile, context)); 916 host->AddFilter(new ChromeNetBenchmarkingMessageFilter(profile, context));
917 host->AddFilter(new prerender::PrerenderMessageFilter(id, profile)); 917 host->AddFilter(new prerender::PrerenderMessageFilter(id, profile));
918 host->AddFilter(new TtsMessageFilter(id, profile)); 918 host->AddFilter(new TtsMessageFilter(id, profile));
919 #if defined(ENABLE_WEBRTC) 919 #if defined(ENABLE_WEBRTC)
920 WebRtcLoggingHandlerHost* webrtc_logging_handler_host = 920 WebRtcLoggingHandlerHost* webrtc_logging_handler_host =
921 new WebRtcLoggingHandlerHost(profile); 921 new WebRtcLoggingHandlerHost(profile);
922 host->SetWebRtcLogMessageCallback(base::Bind( 922 host->SetWebRtcLogMessageCallback(base::Bind(
923 &WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host)); 923 &WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host));
924 host->SetWebRtcRtpPacketCallback(base::Bind(
925 &WebRtcLoggingHandlerHost::OnRtpPacket, webrtc_logging_handler_host));
924 host->AddFilter(webrtc_logging_handler_host); 926 host->AddFilter(webrtc_logging_handler_host);
925 host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>( 927 host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>(
926 webrtc_logging_handler_host)); 928 webrtc_logging_handler_host));
927 #endif 929 #endif
928 #if !defined(DISABLE_NACL) 930 #if !defined(DISABLE_NACL)
929 host->AddFilter(new nacl::NaClHostMessageFilter( 931 host->AddFilter(new nacl::NaClHostMessageFilter(
930 id, profile->IsOffTheRecord(), 932 id, profile->IsOffTheRecord(),
931 profile->GetPath(), 933 profile->GetPath(),
932 context)); 934 context));
933 #endif 935 #endif
(...skipping 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 switches::kDisableWebRtcEncryption, 2761 switches::kDisableWebRtcEncryption,
2760 }; 2762 };
2761 to_command_line->CopySwitchesFrom(from_command_line, 2763 to_command_line->CopySwitchesFrom(from_command_line,
2762 kWebRtcDevSwitchNames, 2764 kWebRtcDevSwitchNames,
2763 arraysize(kWebRtcDevSwitchNames)); 2765 arraysize(kWebRtcDevSwitchNames));
2764 } 2766 }
2765 } 2767 }
2766 #endif // defined(ENABLE_WEBRTC) 2768 #endif // defined(ENABLE_WEBRTC)
2767 2769
2768 } // namespace chrome 2770 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698