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

Unified Diff: net/spdy/spdy_headers_block_parser.h

Issue 2544813002: Remove enum SpdyMajorVersion. (Closed)
Patch Set: Merge comment changes from 140661724. Created 4 years 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 60505913533f549c0efe6549d1a5dda077d0f0f3..1ad7ddf9e1d34f0515476eeab25955afd2d10443 100644
--- a/net/spdy/spdy_headers_block_parser.h
+++ b/net/spdy/spdy_headers_block_parser.h
@@ -29,8 +29,7 @@ class NET_EXPORT_PRIVATE SpdyHeadersBlockParser {
// Constructor. The handler's OnHeader will be called for every key
// value pair that we parsed from the headers block.
- SpdyHeadersBlockParser(SpdyMajorVersion spdy_version,
- SpdyHeadersHandlerInterface* handler);
+ explicit SpdyHeadersBlockParser(SpdyHeadersHandlerInterface* handler);
virtual ~SpdyHeadersBlockParser();
@@ -57,8 +56,6 @@ class NET_EXPORT_PRIVATE SpdyHeadersBlockParser {
};
ParserError get_error() const { return error_; }
- SpdyMajorVersion spdy_version() const { return spdy_version_; }
-
// Returns the maximal number of headers in a SPDY headers block.
static size_t MaxNumberOfHeaders();
@@ -113,8 +110,6 @@ class NET_EXPORT_PRIVATE SpdyHeadersBlockParser {
SpdyStreamId stream_id_;
ParserError error_;
-
- const SpdyMajorVersion spdy_version_;
};
} // namespace net
« 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