diff options
Diffstat (limited to 'net/quic/test_tools/quic_test_utils.cc')
-rw-r--r-- | net/quic/test_tools/quic_test_utils.cc | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc index 3e3171f..a1c1179 100644 --- a/net/quic/test_tools/quic_test_utils.cc +++ b/net/quic/test_tools/quic_test_utils.cc @@ -3,7 +3,6 @@ // found in the LICENSE file. #include "net/quic/test_tools/quic_test_utils.h" - #include "net/quic/crypto/crypto_framer.h" using std::max; @@ -35,16 +34,6 @@ void FramerVisitorCapturingAcks::OnAckFrame(const QuicAckFrame& frame) { frame_ = frame; } -MockHelper::MockHelper() { -} - -MockHelper::~MockHelper() { -} - -QuicClock* MockHelper::GetClock() { - return &clock_; -} - MockConnectionVisitor::MockConnectionVisitor() { } @@ -167,36 +156,6 @@ QuicPacket* ConstructHandshakePacket(QuicGuid guid, CryptoTag tag) { return packet; } -MockConnection::MockConnection(QuicGuid guid, IPEndPoint address) - : QuicConnection(guid, address, new MockHelper()) { -} - -MockConnection::~MockConnection() { -} - -PacketSavingConnection::PacketSavingConnection(QuicGuid guid, - IPEndPoint address) - : MockConnection(guid, address) { -} - -PacketSavingConnection::~PacketSavingConnection() { -} - -bool PacketSavingConnection::SendPacket(QuicPacketSequenceNumber number, - QuicPacket* packet, - bool resend, - bool force) { - packets_.push_back(packet); - return true; -} - -MockSession::MockSession(QuicConnection* connection, bool is_server) - : QuicSession(connection, is_server) { -} - -MockSession::~MockSession() { -} - } // namespace test } // namespace net |