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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp.cc

Issue 759923003: Detect situation when there is no missing send completion signal in P2PSocket implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « content/browser/renderer_host/p2p/socket_host_tcp.cc ('k') | content/common/p2p_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/p2p/socket_host_udp.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp.cc b/content/browser/renderer_host/p2p/socket_host_udp.cc
index 298831797157b85077180aaad4e2a16c79f2f9fa..9abefd405ed0ec0582ced80ae58a6b12694b6e91 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp.cc
@@ -342,7 +342,8 @@ void P2PSocketHostUdp::HandleSendResult(uint64 packet_id,
base::TimeTicks::Now() -
base::TimeTicks::FromInternalValue(tick_received) /* sample */);
- message_sender_->Send(new P2PMsg_OnSendComplete(id_));
+ message_sender_->Send(
+ new P2PMsg_OnSendComplete(id_, P2PSendPacketMetrics(packet_id)));
}
P2PSocketHost* P2PSocketHostUdp::AcceptIncomingTcpConnection(
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_tcp.cc ('k') | content/common/p2p_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698