| Index: net/quic/spdy_utils.h
|
| diff --git a/net/quic/spdy_utils.h b/net/quic/spdy_utils.h
|
| index ba8fecb9a26140042afd62724ff9be7afc658024..708e0c3f2a9afa569a98b70786b05b17cecaab77 100644
|
| --- a/net/quic/spdy_utils.h
|
| +++ b/net/quic/spdy_utils.h
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "net/base/net_export.h"
|
| +#include "net/quic/quic_header_list.h"
|
| #include "net/quic/quic_protocol.h"
|
| #include "net/spdy/spdy_framer.h"
|
|
|
| @@ -43,6 +44,12 @@ class NET_EXPORT_PRIVATE SpdyUtils {
|
| size_t* final_byte_offset,
|
| SpdyHeaderBlock* trailers);
|
|
|
| + // Copies a list of headers to a SpdyHeaderBlock. Performs similar validation
|
| + // to SpdyFramer::ParseHeaderBlockInBuffer.
|
| + static bool CopyAndValidateTrailers(const QuicHeaderList& header_list,
|
| + size_t* final_byte_offset,
|
| + SpdyHeaderBlock* trailers);
|
| +
|
| // Returns URL composed from scheme, authority, and path header
|
| // values, or empty string if any of those fields are missing.
|
| static std::string GetUrlFromHeaderBlock(const net::SpdyHeaderBlock& headers);
|
|
|