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

Unified Diff: webrtc/base/asynctcpsocket.cc

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add missing updated_options Created 5 years, 2 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
Index: webrtc/base/asynctcpsocket.cc
diff --git a/webrtc/base/asynctcpsocket.cc b/webrtc/base/asynctcpsocket.cc
index 66fd3f1e007cddac36b91f5c10bd1acc7bfe0f1b..8e83cd1ea28db85613bc1611113c9f6ea6f3c500 100644
--- a/webrtc/base/asynctcpsocket.cc
+++ b/webrtc/base/asynctcpsocket.cc
@@ -268,6 +268,9 @@ int AsyncTCPSocket::Send(const void *pv, size_t cb,
return res;
}
+ rtc::SentPacket sent_packet(options.packet_id, rtc::Time());
+ SignalSentPacket(this, sent_packet);
+
// We claim to have sent the whole thing, even if we only sent partial
return static_cast<int>(cb);
}
« no previous file with comments | « webrtc/base/asyncpacketsocket.h ('k') | webrtc/base/asyncudpsocket.cc » ('j') | webrtc/call.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698