Chromium Code Reviews| Index: content/common/p2p_socket_type.h |
| diff --git a/content/common/p2p_socket_type.h b/content/common/p2p_socket_type.h |
| index b47ae933134ef1c8da8d3b315ccedb569245ff26..338744035352823e032ffe85ced4eedd1ed6d311 100644 |
| --- a/content/common/p2p_socket_type.h |
| +++ b/content/common/p2p_socket_type.h |
| @@ -48,6 +48,16 @@ struct P2PHostAndIPEndPoint { |
| net::IPEndPoint ip_address; |
| }; |
| +// Stuct which keeps track of metrics during a send operation on P2P sockets. |
| +// Currently, it only carries packet_id but could be expanded to include |
| +// timestamps when packet arrives at various points. |
|
Sergey Ulanov
2014/12/16 00:21:43
Are you actually planning to add other fields in t
guoweis_left_chromium
2014/12/16 23:12:33
Yes, one other thing I'd like to track in the futu
|
| +struct P2PSendPacketMetrics { |
| + P2PSendPacketMetrics() : packet_id(0) {} |
| + explicit P2PSendPacketMetrics(uint64 packet_id) : packet_id(packet_id) {} |
| + |
| + uint64 packet_id; |
| +}; |
| + |
| } // namespace content |
| #endif // CONTENT_COMMON_P2P_SOCKET_TYPE_H_ |