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

Unified Diff: content/renderer/p2p/socket_dispatcher.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/renderer/p2p/socket_dispatcher.cc
diff --git a/content/renderer/p2p/socket_dispatcher.cc b/content/renderer/p2p/socket_dispatcher.cc
index a436ff0eee7544c101a1cc2e01c5c045a34cd207..714d443ebc61b6c89ae673904f060ce13960e441 100644
--- a/content/renderer/p2p/socket_dispatcher.cc
+++ b/content/renderer/p2p/socket_dispatcher.cc
@@ -156,10 +156,12 @@ void P2PSocketDispatcher::OnIncomingTcpConnection(
}
}
-void P2PSocketDispatcher::OnSendComplete(int socket_id) {
+void P2PSocketDispatcher::OnSendComplete(
+ int socket_id,
+ const P2PSendPacketMetrics& send_metrics) {
P2PSocketClientImpl* client = GetClient(socket_id);
if (client) {
- client->OnSendComplete();
+ client->OnSendComplete(send_metrics);
}
}

Powered by Google App Engine
This is Rietveld 408576698