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

Side by Side Diff: net/http2/hpack/tools/hpack_example.h

Issue 2554683003: Revert of Add new HTTP/2 and HPACK decoder in net/http2/. (Closed)
Patch Set: Created 4 years 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
OLDNEW
(Empty)
1 // Copyright 2016 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_HTTP2_HPACK_TOOLS_HPACK_EXAMPLE_H_
6 #define NET_HTTP2_HPACK_TOOLS_HPACK_EXAMPLE_H_
7
8 // Parses HPACK examples in the format seen in the HPACK specification,
9 // RFC 7541. For example:
10 //
11 // 10 | == Literal never indexed ==
12 // 08 | Literal name (len = 8)
13 // 7061 7373 776f 7264 | password
14 // 06 | Literal value (len = 6)
15 // 7365 6372 6574 | secret
16 // | -> password: secret
17 //
18 // (excluding the leading "//").
19
20 #include <string>
21
22 #include "base/strings/string_piece.h"
23
24 namespace net {
25 namespace test {
26
27 std::string HpackExampleToStringOrDie(base::StringPiece example);
28
29 } // namespace test
30 } // namespace net
31
32 #endif // NET_HTTP2_HPACK_TOOLS_HPACK_EXAMPLE_H_
OLDNEW
« no previous file with comments | « net/http2/hpack/tools/hpack_block_builder_test.cc ('k') | net/http2/hpack/tools/hpack_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698