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

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

Issue 1961573002: Avoids the "re-encode HPACK as SPDY3" step. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoids the "re-encode HPACK as SPDY3" step. 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
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 {
Ryan Hamilton 2016/05/13 22:03:15 Is this class from the internal repository? It loo
dahollings 2016/05/16 22:00:17 This class is not from the internal repository-- w
Ryan Hamilton 2016/05/16 22:08:43 *nod* And since that traffics in BalsaHeaders, it'
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

Powered by Google App Engine
This is Rietveld 408576698