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

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

Issue 1997863002: Revert of Avoids the "re-encode HPACK as SPDY3" step. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « net/spdy/buffered_spdy_framer_unittest.cc ('k') | net/spdy/header_coalescer.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) 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_SPDY_HEADER_COALESCER_H_
6 #define NET_SPDY_HEADER_COALESCER_H_
7
8 #include "net/base/net_export.h"
9 #include "net/spdy/spdy_header_block.h"
10 #include "net/spdy/spdy_headers_handler_interface.h"
11
12 namespace net {
13
14 class NET_EXPORT_PRIVATE HeaderCoalescer : public SpdyHeadersHandlerInterface {
15 public:
16 HeaderCoalescer() {}
17
18 void OnHeaderBlockStart() override {}
19
20 void OnHeader(base::StringPiece key, base::StringPiece value) override;
21
22 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {}
23
24 const SpdyHeaderBlock& headers() const { return headers_; }
25 bool error_seen() const { return error_seen_; }
26
27 private:
28 SpdyHeaderBlock headers_;
29 bool error_seen_ = false;
30 };
31
32 } // namespace net
33
34 #endif // NET_SPDY_HEADER_COALESCER_H_
OLDNEW
« no previous file with comments | « net/spdy/buffered_spdy_framer_unittest.cc ('k') | net/spdy/header_coalescer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698