Index: net/quic/spdy_utils.h |
diff --git a/net/quic/spdy_utils.h b/net/quic/spdy_utils.h |
index 708e0c3f2a9afa569a98b70786b05b17cecaab77..6a9b15e375ef6a886f22f5815c8a18a6bdcd5f2f 100644 |
--- a/net/quic/spdy_utils.h |
+++ b/net/quic/spdy_utils.h |
@@ -45,7 +45,13 @@ class NET_EXPORT_PRIVATE SpdyUtils { |
SpdyHeaderBlock* trailers); |
// Copies a list of headers to a SpdyHeaderBlock. Performs similar validation |
- // to SpdyFramer::ParseHeaderBlockInBuffer. |
+ // to SpdyFramer::ParseHeaderBlockInBuffer and ParseHeaders, above. |
+ static bool CopyAndValidateHeaders(const QuicHeaderList& header_list, |
+ int64_t* content_length, |
+ SpdyHeaderBlock* headers); |
+ |
+ // Copies a list of headers to a SpdyHeaderBlock. Performs similar validation |
+ // to SpdyFramer::ParseHeaderBlockInBuffer and ParseTrailers, above. |
static bool CopyAndValidateTrailers(const QuicHeaderList& header_list, |
size_t* final_byte_offset, |
SpdyHeaderBlock* trailers); |