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_ |