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

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

Issue 2839373002: Implement SPDY_EXPORT and SPDY_EXPORT_PRIVATE macros. (Closed)
Patch Set: Rebase: manually resolve trivial merge conflicts. Created 3 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/core/hpack/hpack_constants.h ('k') | net/spdy/core/hpack/hpack_decoder3.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CORE_HPACK_HPACK_DECODER_H_ 5 #ifndef NET_SPDY_CORE_HPACK_HPACK_DECODER_H_
6 #define NET_SPDY_CORE_HPACK_HPACK_DECODER_H_ 6 #define NET_SPDY_CORE_HPACK_HPACK_DECODER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "net/base/net_export.h"
17 #include "net/spdy/core/hpack/hpack_decoder_interface.h" 16 #include "net/spdy/core/hpack/hpack_decoder_interface.h"
18 #include "net/spdy/core/hpack/hpack_header_table.h" 17 #include "net/spdy/core/hpack/hpack_header_table.h"
19 #include "net/spdy/core/hpack/hpack_input_stream.h" 18 #include "net/spdy/core/hpack/hpack_input_stream.h"
20 #include "net/spdy/core/spdy_headers_handler_interface.h" 19 #include "net/spdy/core/spdy_headers_handler_interface.h"
21 #include "net/spdy/core/spdy_protocol.h" 20 #include "net/spdy/core/spdy_protocol.h"
21 #include "net/spdy/platform/api/spdy_export.h"
22 #include "net/spdy/platform/api/spdy_string.h" 22 #include "net/spdy/platform/api/spdy_string.h"
23 #include "net/spdy/platform/api/spdy_string_piece.h" 23 #include "net/spdy/platform/api/spdy_string_piece.h"
24 24
25 // An HpackDecoder decodes header sets as outlined in 25 // An HpackDecoder decodes header sets as outlined in
26 // http://tools.ietf.org/html/rfc7541. 26 // http://tools.ietf.org/html/rfc7541.
27 27
28 namespace net { 28 namespace net {
29 29
30 namespace test { 30 namespace test {
31 class HpackDecoderPeer; 31 class HpackDecoderPeer;
32 } // namespace test 32 } // namespace test
33 33
34 class NET_EXPORT_PRIVATE HpackDecoder : public HpackDecoderInterface { 34 class SPDY_EXPORT_PRIVATE HpackDecoder : public HpackDecoderInterface {
35 public: 35 public:
36 friend class test::HpackDecoderPeer; 36 friend class test::HpackDecoderPeer;
37 37
38 HpackDecoder(); 38 HpackDecoder();
39 ~HpackDecoder() override; 39 ~HpackDecoder() override;
40 40
41 // Called upon sending a SETTINGS_HEADER_TABLE_SIZE value. 41 // Called upon sending a SETTINGS_HEADER_TABLE_SIZE value.
42 void ApplyHeaderTableSizeSetting(size_t size_setting) override; 42 void ApplyHeaderTableSizeSetting(size_t size_setting) override;
43 43
44 // If a SpdyHeadersHandlerInterface is provided, HpackDecoder will emit 44 // If a SpdyHeadersHandlerInterface is provided, HpackDecoder will emit
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Saved value of --chromium_http2_flag_add_hpack_incremental_decode. 147 // Saved value of --chromium_http2_flag_add_hpack_incremental_decode.
148 bool incremental_decode_; 148 bool incremental_decode_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(HpackDecoder); 150 DISALLOW_COPY_AND_ASSIGN(HpackDecoder);
151 }; 151 };
152 152
153 } // namespace net 153 } // namespace net
154 154
155 #endif // NET_SPDY_CORE_HPACK_HPACK_DECODER_H_ 155 #endif // NET_SPDY_CORE_HPACK_HPACK_DECODER_H_
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_constants.h ('k') | net/spdy/core/hpack/hpack_decoder3.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698