| Index: net/quic/test_tools/quic_test_utils.cc
|
| diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
|
| index ada82621e3b6da9ac0131156a1fa54496bf71043..6bcb214d5b9c2099adbd5c8506d776a1590a1571 100644
|
| --- a/net/quic/test_tools/quic_test_utils.cc
|
| +++ b/net/quic/test_tools/quic_test_utils.cc
|
| @@ -31,18 +31,6 @@ using testing::_;
|
|
|
| namespace net {
|
| namespace test {
|
| -namespace {
|
| -
|
| -// No-op alarm implementation used by MockConnectionHelper.
|
| -class TestAlarm : public QuicAlarm {
|
| - public:
|
| - explicit TestAlarm(QuicAlarm::Delegate* delegate) : QuicAlarm(delegate) {}
|
| -
|
| - void SetImpl() override {}
|
| - void CancelImpl() override {}
|
| -};
|
| -
|
| -} // namespace
|
|
|
| QuicAckFrame MakeAckFrame(QuicPacketNumber largest_observed) {
|
| QuicAckFrame ack;
|
| @@ -206,7 +194,7 @@ QuicRandom* MockConnectionHelper::GetRandomGenerator() {
|
| }
|
|
|
| QuicAlarm* MockConnectionHelper::CreateAlarm(QuicAlarm::Delegate* delegate) {
|
| - return new TestAlarm(delegate);
|
| + return new MockConnectionHelper::TestAlarm(delegate);
|
| }
|
|
|
| QuicBufferAllocator* MockConnectionHelper::GetBufferAllocator() {
|
|
|