Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: net/quic/test_tools/quic_test_utils.cc

Issue 1563083002: relnote: n/a (test only) QUIC - make MockConnectionHelper::TestAlarm public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@24_CL_111385694
Patch Set: rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698