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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/http2_compressor_unittest.cc ('k') | net/spdy/http2_decompressor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/http2_decompressor.h
diff --git a/net/spdy/http2_decompressor.h b/net/spdy/http2_decompressor.h
new file mode 100644
index 0000000000000000000000000000000000000000..d17ae28e70d6bf5fc0c4b3941b065f7340875dc0
--- /dev/null
+++ b/net/spdy/http2_decompressor.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_SPDY_HTTP2_DECOMPRESSOR_H_
+#define NET_SPDY_HTTP2_DECOMPRESSOR_H_
+
+#include <cstddef>
+
+#include "base/basictypes.h"
+#include "net/base/net_export.h"
+#include "net/spdy/http2_encoding_context.h"
+#include "net/spdy/spdy_protocol.h"
+
+namespace net {
+
+class NET_EXPORT_PRIVATE Http2Decompressor {
+ public:
+ Http2Decompressor();
+ ~Http2Decompressor();
+
+ bool DecodeNameValueBlock(const char* data, size_t len,
+ SpdyNameValueBlock* out);
+
+ private:
+ EncodingContext encoding_context_;
+
+ DISALLOW_COPY_AND_ASSIGN(Http2Decompressor);
+};
+
+} // namespace net
+
+#endif // NET_SPDY_HTTP2_DECOMPRESSOR_H_
« 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