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

Unified Diff: net/spdy/spdy_headers_block_parser.h

Issue 1561203003: Remove SPDY/2 code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #3. Created 4 years, 11 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/spdy/spdy_framer_test.cc ('k') | net/spdy/spdy_headers_block_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_headers_block_parser.h
diff --git a/net/spdy/spdy_headers_block_parser.h b/net/spdy/spdy_headers_block_parser.h
index 6f1dd679a4eca98d6bf73e7d78bd40c26f53e026..4ee8760dc7d7913bfc37663446de4414626e0bd8 100644
--- a/net/spdy/spdy_headers_block_parser.h
+++ b/net/spdy/spdy_headers_block_parser.h
@@ -64,11 +64,8 @@ class NET_EXPORT_PRIVATE SpdyHeadersBlockParser {
SpdyMajorVersion spdy_version() const { return spdy_version_; }
- // Returns the size in bytes of a length field in a SPDY header.
- static size_t LengthFieldSizeForVersion(SpdyMajorVersion spdy_version);
-
// Returns the maximal number of headers in a SPDY headers block.
- static size_t MaxNumberOfHeadersForVersion(SpdyMajorVersion spdy_version);
+ static size_t MaxNumberOfHeaders();
private:
typedef SpdyPrefixedBufferReader Reader;
@@ -93,9 +90,6 @@ class NET_EXPORT_PRIVATE SpdyHeadersBlockParser {
};
ParserState state_;
- // Size in bytes of a length field in the spdy header.
- const size_t length_field_size_;
-
// The maximal number of headers in a SPDY headers block.
const size_t max_headers_in_block_;
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | net/spdy/spdy_headers_block_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698