Index: net/quic/quic_utils.h |
diff --git a/net/quic/quic_utils.h b/net/quic/quic_utils.h |
index 5a92022e8294caa37095149ad45d18b1c434520c..3965c6580540dc7ac99d2413a995f1f12693ab29 100644 |
--- a/net/quic/quic_utils.h |
+++ b/net/quic/quic_utils.h |
@@ -114,6 +114,12 @@ class NET_EXPORT_PRIVATE QuicUtils { |
// Deletes and clears all the frames and the packet from serialized packet. |
static void ClearSerializedPacket(SerializedPacket* serialized_packet); |
+ // Returns a packed representation of |path_id| and |packet_number| in which |
+ // the highest byte is set to |path_id| and the lower 7 bytes are the lower |
+ // 7 bytes of |packet_number|. |
+ static uint64_t PackPathIdAndPacketNumber(QuicPathId path_id, |
+ QuicPacketNumber packet_number); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(QuicUtils); |
}; |