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 { |