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

Unified Diff: net/spdy/spdy_headers_block_parser.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
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 c0f97cab6bdb914044b54052674afc5f14fc6ead..3c0c8e3ed1add75ffb90000605399c75a1764b15 100644
--- a/net/spdy/spdy_headers_block_parser.h
+++ b/net/spdy/spdy_headers_block_parser.h
@@ -78,6 +78,8 @@ class NET_EXPORT_PRIVATE SpdyHeadersBlockParser {
};
ParserError get_error() const { return error_; }
+ 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);
@@ -138,6 +140,8 @@ class NET_EXPORT_PRIVATE SpdyHeadersBlockParser {
SpdyStreamId stream_id_;
ParserError error_;
+
+ const SpdyMajorVersion spdy_version_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698