Index: webrtc/base/socket.h |
diff --git a/webrtc/base/socket.h b/webrtc/base/socket.h |
index 5512c5de0a572b0572c441ff41c8101bb14b1b0f..e0e26edb9d90758efa1d83d75fa00c34ab9208e8 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 { |