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

Side by Side Diff: net/spdy/core/hpack/hpack_decoder3.h

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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/core/hpack/hpack_decoder.cc ('k') | net/spdy/core/hpack/hpack_decoder3.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SPDY_HPACK_HPACK_DECODER3_H_ 5 #ifndef NET_SPDY_HPACK_HPACK_DECODER3_H_
6 #define NET_SPDY_HPACK_HPACK_DECODER3_H_ 6 #define NET_SPDY_HPACK_HPACK_DECODER3_H_
7 7
8 // HpackDecoder3 implements HpackDecoderInterface, using Http2HpackDecoder to 8 // HpackDecoder3 implements HpackDecoderInterface, using Http2HpackDecoder to
9 // decode HPACK blocks into HTTP/2 header lists as outlined in 9 // decode HPACK blocks into HTTP/2 header lists as outlined in
10 // http://tools.ietf.org/html/rfc7541. 10 // http://tools.ietf.org/html/rfc7541.
11 11
12 #include <stddef.h> 12 #include <stddef.h>
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
18 #include "net/http2/hpack/decoder/hpack_decoder_listener.h" 18 #include "net/http2/hpack/decoder/hpack_decoder_listener.h"
19 #include "net/http2/hpack/decoder/http2_hpack_decoder.h" 19 #include "net/http2/hpack/decoder/http2_hpack_decoder.h"
20 #include "net/http2/hpack/hpack_string.h" 20 #include "net/http2/hpack/hpack_string.h"
21 #include "net/http2/hpack/http2_hpack_constants.h" 21 #include "net/http2/hpack/http2_hpack_constants.h"
22 #include "net/spdy/hpack/hpack_decoder_interface.h" 22 #include "net/spdy/core/hpack/hpack_decoder_interface.h"
23 #include "net/spdy/hpack/hpack_header_table.h" 23 #include "net/spdy/core/hpack/hpack_header_table.h"
24 #include "net/spdy/core/spdy_header_block.h"
25 #include "net/spdy/core/spdy_headers_handler_interface.h"
24 #include "net/spdy/platform/api/spdy_string_piece.h" 26 #include "net/spdy/platform/api/spdy_string_piece.h"
25 #include "net/spdy/spdy_header_block.h"
26 #include "net/spdy/spdy_headers_handler_interface.h"
27 27
28 namespace net { 28 namespace net {
29 namespace test { 29 namespace test {
30 class HpackDecoder3Peer; 30 class HpackDecoder3Peer;
31 } // namespace test 31 } // namespace test
32 32
33 class NET_EXPORT_PRIVATE HpackDecoder3 : public HpackDecoderInterface { 33 class NET_EXPORT_PRIVATE HpackDecoder3 : public HpackDecoderInterface {
34 public: 34 public:
35 friend test::HpackDecoder3Peer; 35 friend test::HpackDecoder3Peer;
36 HpackDecoder3(); 36 HpackDecoder3();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // moment because HandleControlFrameHeadersStart won't be called if a handler 122 // moment because HandleControlFrameHeadersStart won't be called if a handler
123 // is not being provided by the caller. 123 // is not being provided by the caller.
124 bool header_block_started_; 124 bool header_block_started_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(HpackDecoder3); 126 DISALLOW_COPY_AND_ASSIGN(HpackDecoder3);
127 }; 127 };
128 128
129 } // namespace net 129 } // namespace net
130 130
131 #endif // NET_SPDY_HPACK_HPACK_DECODER3_H_ 131 #endif // NET_SPDY_HPACK_HPACK_DECODER3_H_
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_decoder.cc ('k') | net/spdy/core/hpack/hpack_decoder3.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698