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

Side by Side Diff: net/spdy/hpack/hpack_decoder_interface.h

Issue 2344613002: Minor cleanup. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | net/spdy/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
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Accessor for the most recently decoded headers block. Valid until the next 50 // Accessor for the most recently decoded headers block. Valid until the next
51 // call to HandleControlFrameHeadersData(). 51 // call to HandleControlFrameHeadersData().
52 // TODO(birenroy): Remove this method when all users of HpackDecoder specify 52 // TODO(birenroy): Remove this method when all users of HpackDecoder specify
53 // a SpdyHeadersHandlerInterface. 53 // a SpdyHeadersHandlerInterface.
54 virtual const SpdyHeaderBlock& decoded_block() const = 0; 54 virtual const SpdyHeaderBlock& decoded_block() const = 0;
55 55
56 virtual void SetHeaderTableDebugVisitor( 56 virtual void SetHeaderTableDebugVisitor(
57 std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor) = 0; 57 std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor) = 0;
58 58
59 // How much encoded data this decoder is willing to buffer. 59 // Set how much encoded data this decoder is willing to buffer.
60 virtual void set_max_decode_buffer_size_bytes( 60 virtual void set_max_decode_buffer_size_bytes(
61 size_t max_decode_buffer_size_bytes) = 0; 61 size_t max_decode_buffer_size_bytes) = 0;
62 }; 62 };
63 63
64 } // namespace net 64 } // namespace net
65 65
66 #endif // NET_SPDY_HPACK_HPACK_DECODER_INTERFACE_H_ 66 #endif // NET_SPDY_HPACK_HPACK_DECODER_INTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/hpack/hpack_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698