// 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_DECODER_HTTP2_STRUCTURE_DECODER_H_ #define QUICHE_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_H_ // Http2StructureDecoder is a class for decoding the fixed size structures in // the HTTP/2 spec, defined in quiche/http2/http2_structures.h. This class // is in aid of deciding whether to keep the SlowDecode methods which I // (jamessynge) now think may not be worth their complexity. In particular, // if most transport buffers are large, so it is rare that a structure is // split across buffer boundaries, than the cost of buffering upon // those rare occurrences is small, which then simplifies the callers. #include <cstdint> #include "quiche/http2/decoder/decode_buffer.h" #include "quiche/http2/decoder/decode_http2_structures.h" #include "quiche/http2/decoder/decode_status.h" #include "quiche/http2/http2_structures.h" #include "quiche/common/platform/api/quiche_export.h" #include "quiche/common/platform/api/quiche_logging.h" namespace http2 { namespace test { class Http2StructureDecoderPeer; } // namespace test class QUICHE_EXPORT Http2StructureDecoder { … }; } // namespace http2 #endif // QUICHE_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_H_