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

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
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..8b17b4aabe590e1f60be5ad8e8759712ed8e788e 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 /* packet_id */)));
Sergey Ulanov 2014/12/16 00:21:43 Don't need the comment.
guoweis_left_chromium 2014/12/16 23:12:33 Done.
}
P2PSocketHost* P2PSocketHostUdp::AcceptIncomingTcpConnection(

Powered by Google App Engine
This is Rietveld 408576698