// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef QUICHE_HTTP2_HPACK_DECODER_HPACK_WHOLE_ENTRY_BUFFER_H_ #define QUICHE_HTTP2_HPACK_DECODER_HPACK_WHOLE_ENTRY_BUFFER_H_ // HpackWholeEntryBuffer isolates a listener from the fact that an entry may // be split across multiple input buffers, providing one callback per entry. // HpackWholeEntryBuffer requires that the HpackEntryDecoderListener be made in // the correct order, which is tested by hpack_entry_decoder_test.cc. #include <stddef.h> #include "absl/strings/string_view.h" #include "quiche/http2/hpack/decoder/hpack_decoder_string_buffer.h" #include "quiche/http2/hpack/decoder/hpack_decoding_error.h" #include "quiche/http2/hpack/decoder/hpack_entry_decoder_listener.h" #include "quiche/http2/hpack/decoder/hpack_whole_entry_listener.h" #include "quiche/http2/hpack/http2_hpack_constants.h" #include "quiche/common/platform/api/quiche_export.h" namespace http2 { // TODO(jamessynge): Consider renaming HpackEntryDecoderListener to // HpackEntryPartsListener or HpackEntryFragmentsListener. class QUICHE_EXPORT HpackWholeEntryBuffer : public HpackEntryDecoderListener { … }; } // namespace http2 #endif // QUICHE_HTTP2_HPACK_DECODER_HPACK_WHOLE_ENTRY_BUFFER_H_