#include "quiche/quic/test_tools/simple_data_producer.h"
#include <memory>
#include <string>
#include <utility>
#include "absl/strings/string_view.h"
#include "quiche/quic/core/quic_data_writer.h"
#include "quiche/quic/platform/api/quic_bug_tracker.h"
#include "quiche/quic/platform/api/quic_flags.h"
namespace quic {
namespace test {
SimpleDataProducer::SimpleDataProducer() { … }
SimpleDataProducer::~SimpleDataProducer() { … }
void SimpleDataProducer::SaveStreamData(QuicStreamId id,
absl::string_view data) { … }
void SimpleDataProducer::SaveCryptoData(EncryptionLevel level,
QuicStreamOffset offset,
absl::string_view data) { … }
WriteStreamDataResult SimpleDataProducer::WriteStreamData(
QuicStreamId id, QuicStreamOffset offset, QuicByteCount data_length,
QuicDataWriter* writer) { … }
bool SimpleDataProducer::WriteCryptoData(EncryptionLevel level,
QuicStreamOffset offset,
QuicByteCount data_length,
QuicDataWriter* writer) { … }
}
}