#include "net/quic/mock_quic_data.h"
#include "net/base/hex_utils.h"
namespace net::test {
MockQuicData::MockQuicData(quic::ParsedQuicVersion version)
: … { … }
MockQuicData::~MockQuicData() = default;
void MockQuicData::AddConnect(IoMode mode, int rv) { … }
void MockQuicData::AddRead(IoMode mode,
std::unique_ptr<quic::QuicReceivedPacket> packet) { … }
void MockQuicData::AddRead(IoMode mode,
std::unique_ptr<quic::QuicEncryptedPacket> packet) { … }
void MockQuicData::AddRead(IoMode mode, int rv) { … }
void MockQuicData::AddReadPause() { … }
void MockQuicData::AddReadPauseForever() { … }
void MockQuicData::AddWrite(IoMode mode,
std::unique_ptr<quic::QuicEncryptedPacket> packet) { … }
void MockQuicData::AddWrite(IoMode mode, int rv) { … }
void MockQuicData::AddWrite(IoMode mode,
int rv,
std::unique_ptr<quic::QuicEncryptedPacket> packet) { … }
void MockQuicData::AddWritePause() { … }
void MockQuicData::AddSocketDataToFactory(MockClientSocketFactory* factory) { … }
bool MockQuicData::AllReadDataConsumed() { … }
bool MockQuicData::AllWriteDataConsumed() { … }
void MockQuicData::ExpectAllReadDataConsumed() { … }
void MockQuicData::ExpectAllWriteDataConsumed() { … }
void MockQuicData::Resume() { … }
SequencedSocketData* MockQuicData::InitializeAndGetSequencedSocketData() { … }
SequencedSocketData* MockQuicData::GetSequencedSocketData() { … }
}