Index: net/quic/quic_utils.h |
diff --git a/net/quic/quic_utils.h b/net/quic/quic_utils.h |
index 3965c6580540dc7ac99d2413a995f1f12693ab29..b73603cd38cb22544b5d7e22e8161c9b2ed4a86a 100644 |
--- a/net/quic/quic_utils.h |
+++ b/net/quic/quic_utils.h |
@@ -120,6 +120,10 @@ class NET_EXPORT_PRIVATE QuicUtils { |
static uint64_t PackPathIdAndPacketNumber(QuicPathId path_id, |
QuicPacketNumber packet_number); |
+ // Allocates a new char[] of size |packet.encrypted_length| and copies in |
+ // |packet.encrypted_buffer|. |
+ static char* CopyBuffer(const SerializedPacket& packet); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(QuicUtils); |
}; |