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

Unified Diff: net/spdy/spdy_protocol.h

Issue 267113005: SPDY size utility method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | net/spdy/spdy_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_protocol.h
diff --git a/net/spdy/spdy_protocol.h b/net/spdy/spdy_protocol.h
index cc73977a686fe02675fa09fec3bde6c96125bdc3..9ecd4e41dcc4b3fa3a6137c24b9042b75548ccf4 100644
--- a/net/spdy/spdy_protocol.h
+++ b/net/spdy/spdy_protocol.h
@@ -495,6 +495,10 @@ class NET_EXPORT_PRIVATE SpdyConstants {
static size_t GetFrameMaximumSize(SpdyMajorVersion version);
+ // Returns the size of a header block size field. Valid only for SPDY
+ // versions <= 3.
+ static size_t GetSizeOfSizeField(SpdyMajorVersion version);
+
static SpdyMajorVersion ParseMajorVersion(int version_number);
static int SerializeMajorVersion(SpdyMajorVersion version);
« no previous file with comments | « no previous file | net/spdy/spdy_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698