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

Unified Diff: webrtc/base/socket.h

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/socket.h
diff --git a/webrtc/base/socket.h b/webrtc/base/socket.h
index 8d98d273df6228d734d57fad9754ad0d17d4acfc..22326cb997a1a0aa3ca6388d5746dba950e77434 100644
--- a/webrtc/base/socket.h
+++ b/webrtc/base/socket.h
@@ -124,6 +124,15 @@ inline bool IsBlockingError(int e) {
return (e == EWOULDBLOCK) || (e == EAGAIN) || (e == EINPROGRESS);
}
+struct SentPacket {
+ SentPacket() : packet_id(-1), send_time_ms(-1) {}
+ SentPacket(int packet_id, int64_t send_time_ms)
+ : packet_id(packet_id), send_time_ms(send_time_ms) {}
+
+ int packet_id;
+ int64_t send_time_ms;
+};
+
// General interface for the socket implementations of various networks. The
// methods match those of normal UNIX sockets very closely.
class Socket {
« no previous file with comments | « webrtc/base/base_tests.gyp ('k') | webrtc/base/unittest_main.cc » ('j') | webrtc/call.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698