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

Unified Diff: chrome/renderer/media/cast_ipc_dispatcher.cc

Issue 281453003: Cast: Simplify code path for RTCP sender report (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged 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
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_transport_sender_ipc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_ipc_dispatcher.cc
diff --git a/chrome/renderer/media/cast_ipc_dispatcher.cc b/chrome/renderer/media/cast_ipc_dispatcher.cc
index 022d7ec33b10fd5ce1d1567204f69fc713b0d01d..5be10754b91721dac4d33cf678af2cd783a37bbe 100644
--- a/chrome/renderer/media/cast_ipc_dispatcher.cc
+++ b/chrome/renderer/media/cast_ipc_dispatcher.cc
@@ -50,7 +50,6 @@ bool CastIPCDispatcher::OnMessageReceived(const IPC::Message& message) {
IPC_BEGIN_MESSAGE_MAP(CastIPCDispatcher, message)
IPC_MESSAGE_HANDLER(CastMsg_ReceivedPacket, OnReceivedPacket)
IPC_MESSAGE_HANDLER(CastMsg_NotifyStatusChange, OnNotifyStatusChange)
- IPC_MESSAGE_HANDLER(CastMsg_RtpStatistics, OnRtpStatistics)
IPC_MESSAGE_HANDLER(CastMsg_RawEvents, OnRawEvents)
IPC_MESSAGE_UNHANDLED(handled = false);
IPC_END_MESSAGE_MAP();
@@ -100,20 +99,6 @@ void CastIPCDispatcher::OnNotifyStatusChange(
}
}
-void CastIPCDispatcher::OnRtpStatistics(
- int32 channel_id,
- bool audio,
- const media::cast::transport::RtcpSenderInfo& sender_info,
- base::TimeTicks time_sent,
- uint32 rtp_timestamp) {
- CastTransportSenderIPC* sender = id_map_.Lookup(channel_id);
- if (sender) {
- sender->OnRtpStatistics(audio, sender_info, time_sent, rtp_timestamp);
- } else {
- DVLOG(1) << "CastIPCDispatcher::OnRtpStatistics on non-existing channel.";
- }
-}
-
void CastIPCDispatcher::OnRawEvents(
int32 channel_id,
const std::vector<media::cast::PacketEvent>& packet_events) {
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_transport_sender_ipc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698