#include "quiche/quic/test_tools/simple_quic_framer.h"
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "absl/memory/memory.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/crypto/quic_decrypter.h"
#include "quiche/quic/core/crypto/quic_encrypter.h"
#include "quiche/quic/core/frames/quic_reset_stream_at_frame.h"
#include "quiche/quic/core/quic_types.h"
namespace quic {
namespace test {
class SimpleFramerVisitor : public QuicFramerVisitorInterface { … };
SimpleQuicFramer::SimpleQuicFramer()
: … { … }
SimpleQuicFramer::SimpleQuicFramer(
const ParsedQuicVersionVector& supported_versions)
: … { … }
SimpleQuicFramer::SimpleQuicFramer(
const ParsedQuicVersionVector& supported_versions, Perspective perspective)
: … { … }
SimpleQuicFramer::~SimpleQuicFramer() { … }
bool SimpleQuicFramer::ProcessPacket(const QuicEncryptedPacket& packet) { … }
void SimpleQuicFramer::Reset() { … }
const QuicPacketHeader& SimpleQuicFramer::header() const { … }
const QuicVersionNegotiationPacket*
SimpleQuicFramer::version_negotiation_packet() const { … }
EncryptionLevel SimpleQuicFramer::last_decrypted_level() const { … }
QuicFramer* SimpleQuicFramer::framer() { … }
size_t SimpleQuicFramer::num_frames() const { … }
const std::vector<QuicAckFrame>& SimpleQuicFramer::ack_frames() const { … }
const std::vector<QuicStopWaitingFrame>& SimpleQuicFramer::stop_waiting_frames()
const { … }
const std::vector<QuicPathChallengeFrame>&
SimpleQuicFramer::path_challenge_frames() const { … }
const std::vector<QuicPathResponseFrame>&
SimpleQuicFramer::path_response_frames() const { … }
const std::vector<QuicPingFrame>& SimpleQuicFramer::ping_frames() const { … }
const std::vector<QuicMessageFrame>& SimpleQuicFramer::message_frames() const { … }
const std::vector<QuicWindowUpdateFrame>&
SimpleQuicFramer::window_update_frames() const { … }
const std::vector<std::unique_ptr<QuicStreamFrame>>&
SimpleQuicFramer::stream_frames() const { … }
const std::vector<std::unique_ptr<QuicCryptoFrame>>&
SimpleQuicFramer::crypto_frames() const { … }
const std::vector<QuicRstStreamFrame>& SimpleQuicFramer::rst_stream_frames()
const { … }
const std::vector<QuicGoAwayFrame>& SimpleQuicFramer::goaway_frames() const { … }
const std::vector<QuicConnectionCloseFrame>&
SimpleQuicFramer::connection_close_frames() const { … }
const std::vector<QuicPaddingFrame>& SimpleQuicFramer::padding_frames() const { … }
const QuicEncryptedPacket* SimpleQuicFramer::coalesced_packet() const { … }
}
}