Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: net/quic/spdy_utils.h

Issue 1908103002: Landing Recent QUIC changes until 4/15/2016 17:20 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/quic/spdy_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/quic/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698