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

Side by Side Diff: net/spdy/core/hpack/hpack_decoder_interface.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_decoder3_test.cc ('k') | net/spdy/core/hpack/hpack_decoder_test.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 2016 The Chromium Authors. All rights reserved. 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 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_DECODER_INTERFACE_H_ 5 #ifndef NET_SPDY_HPACK_HPACK_DECODER_INTERFACE_H_
6 #define NET_SPDY_HPACK_HPACK_DECODER_INTERFACE_H_ 6 #define NET_SPDY_HPACK_HPACK_DECODER_INTERFACE_H_
7 7
8 // HpackDecoderInterface is the base class for HPACK block decoders. 8 // HpackDecoderInterface is the base class for HPACK block decoders.
9 // HPACK is defined in http://tools.ietf.org/html/rfc7541 9 // HPACK is defined in http://tools.ietf.org/html/rfc7541
10 10
11 #include <stddef.h> 11 #include <stddef.h>
12 12
13 #include <memory> 13 #include <memory>
14 14
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 #include "net/spdy/hpack/hpack_header_table.h" 16 #include "net/spdy/core/hpack/hpack_header_table.h"
17 #include "net/spdy/spdy_header_block.h" 17 #include "net/spdy/core/spdy_header_block.h"
18 #include "net/spdy/spdy_headers_handler_interface.h" 18 #include "net/spdy/core/spdy_headers_handler_interface.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class NET_EXPORT_PRIVATE HpackDecoderInterface { 22 class NET_EXPORT_PRIVATE HpackDecoderInterface {
23 public: 23 public:
24 virtual ~HpackDecoderInterface() {} 24 virtual ~HpackDecoderInterface() {}
25 25
26 // Called upon acknowledgement of SETTINGS_HEADER_TABLE_SIZE. 26 // Called upon acknowledgement of SETTINGS_HEADER_TABLE_SIZE.
27 virtual void ApplyHeaderTableSizeSetting(size_t size_setting) = 0; 27 virtual void ApplyHeaderTableSizeSetting(size_t size_setting) = 0;
28 28
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual void set_max_decode_buffer_size_bytes( 67 virtual void set_max_decode_buffer_size_bytes(
68 size_t max_decode_buffer_size_bytes) = 0; 68 size_t max_decode_buffer_size_bytes) = 0;
69 69
70 // Returns the estimate of dynamically allocated memory in bytes. 70 // Returns the estimate of dynamically allocated memory in bytes.
71 virtual size_t EstimateMemoryUsage() const = 0; 71 virtual size_t EstimateMemoryUsage() const = 0;
72 }; 72 };
73 73
74 } // namespace net 74 } // namespace net
75 75
76 #endif // NET_SPDY_HPACK_HPACK_DECODER_INTERFACE_H_ 76 #endif // NET_SPDY_HPACK_HPACK_DECODER_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_decoder3_test.cc ('k') | net/spdy/core/hpack/hpack_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698