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

Side by Side Diff: net/spdy/hpack_constants.h

Issue 145353017: Update HPACK implementation to draft 05 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/spdy/hpack_encoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SPDY_HPACK_CONSTANTS_H_ 5 #ifndef NET_SPDY_HPACK_CONSTANTS_H_
6 #define NET_SPDY_HPACK_CONSTANTS_H_ 6 #define NET_SPDY_HPACK_CONSTANTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 // All section references below are to 10 // All section references below are to
11 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-04 11 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-05
12 // . 12 // .
13 13
14 namespace net { 14 namespace net {
15 15
16 // The marker for a string literal that is stored unmodified (i.e., 16 // The marker for a string literal that is stored unmodified (i.e.,
17 // without Huffman encoding) (from 4.1.2). 17 // without Huffman encoding) (from 4.1.2).
18 const uint8 kStringLiteralIdentityEncoded = 0x0; 18 const uint8 kStringLiteralIdentityEncoded = 0x0;
19 const uint8 kStringLiteralIdentityEncodedSize = 1; 19 const uint8 kStringLiteralIdentityEncodedSize = 1;
20 20
21 // The opcode for a literal header field without indexing (from 21 // The opcode for a literal header field without indexing (from
22 // 4.3.1). 22 // 4.3.1).
23 const uint8 kLiteralNoIndexOpcode = 0x01; 23 const uint8 kLiteralNoIndexOpcode = 0x01;
24 const uint8 kLiteralNoIndexOpcodeSize = 2; 24 const uint8 kLiteralNoIndexOpcodeSize = 2;
25 25
26 } // namespace net 26 } // namespace net
27 27
28 #endif // NET_SPDY_HPACK_CONSTANTS_H_ 28 #endif // NET_SPDY_HPACK_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/hpack_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698