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

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

Issue 22074002: DO NOT COMMIT: Implement HPACK (draft 03) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for httpbis-draft-06 / hpack-draft-03 Created 7 years, 2 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 | « net/spdy/http2_compressor_unittest.cc ('k') | net/spdy/http2_decompressor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SPDY_HTTP2_DECOMPRESSOR_H_
6 #define NET_SPDY_HTTP2_DECOMPRESSOR_H_
7
8 #include <cstddef>
9
10 #include "base/basictypes.h"
11 #include "net/base/net_export.h"
12 #include "net/spdy/http2_encoding_context.h"
13 #include "net/spdy/spdy_protocol.h"
14
15 namespace net {
16
17 class NET_EXPORT_PRIVATE Http2Decompressor {
18 public:
19 Http2Decompressor();
20 ~Http2Decompressor();
21
22 bool DecodeNameValueBlock(const char* data, size_t len,
23 SpdyNameValueBlock* out);
24
25 private:
26 EncodingContext encoding_context_;
27
28 DISALLOW_COPY_AND_ASSIGN(Http2Decompressor);
29 };
30
31 } // namespace net
32
33 #endif // NET_SPDY_HTTP2_DECOMPRESSOR_H_
OLDNEW
« no previous file with comments | « net/spdy/http2_compressor_unittest.cc ('k') | net/spdy/http2_decompressor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698