Index: chrome/browser/media/webrtc_logging_handler_host.cc |
diff --git a/chrome/browser/media/webrtc_logging_handler_host.cc b/chrome/browser/media/webrtc_logging_handler_host.cc |
index d9ea6756c97890d86e5f14482576f43c5a26fb39..abf3a15be1cb448ac15fe5185879f585242f8b77 100644 |
--- a/chrome/browser/media/webrtc_logging_handler_host.cc |
+++ b/chrome/browser/media/webrtc_logging_handler_host.cc |
@@ -19,6 +19,7 @@ |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
#include "chrome/browser/media/webrtc_log_list.h" |
#include "chrome/browser/media/webrtc_log_uploader.h" |
+#include "chrome/browser/media/webrtc_rtp_dump_handler.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/media/webrtc_logging_messages.h" |
@@ -224,6 +225,13 @@ void WebRtcLoggingHandlerHost::LogMessage(const std::string& message) { |
WebRtcLoggingMessageData(base::Time::Now(), message))); |
} |
+void WebRtcLoggingHandlerHost::OnRtpPacket(const uint8* packet, |
Henrik Grunell
2014/05/07 09:38:19
Check thread.
|
+ size_t length, |
+ bool incoming) { |
+ if (rtp_dump_handler_) |
+ rtp_dump_handler_->OnRtpPacket(packet, length, incoming); |
+} |
+ |
void WebRtcLoggingHandlerHost::OnChannelClosing() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
if (logging_state_ == STARTED || logging_state_ == STOPPED) { |