X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fnet%2Fspdy%2Fhpack_entry.h;h=90298fe4d0709e0698ed674045a432dce1305def;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=53d7e28614d599fbb3487597efdafa7222c4d29d;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/net/spdy/hpack_entry.h b/src/net/spdy/hpack_entry.h index 53d7e28..90298fe 100644 --- a/src/net/spdy/hpack_entry.h +++ b/src/net/spdy/hpack_entry.h @@ -15,16 +15,16 @@ #include "net/base/net_export.h" // All section references below are to -// http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-07 +// http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-08 namespace net { -// A structure for an entry in the header table (3.1.2) and the -// reference set (3.1.3). +// A structure for an entry in the header table (3.2) and the +// reference set (3.3). class NET_EXPORT_PRIVATE HpackEntry { public: // The constant amount added to name().size() and value().size() to - // get the size of an HpackEntry as defined in 3.3.1. + // get the size of an HpackEntry as defined in 5.1. static const size_t kSizeOverhead; // Creates an entry. Preconditions: @@ -68,7 +68,7 @@ class NET_EXPORT_PRIVATE HpackEntry { // Used to compute the entry's index in the header table. size_t InsertionIndex() const { return insertion_index_; } - // Returns the size of an entry as defined in 3.3.1. + // Returns the size of an entry as defined in 5.1. static size_t Size(base::StringPiece name, base::StringPiece value); size_t Size() const;