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

Unified Diff: net/quic/chromium/quic_stream_factory_peer.cc

Issue 2789093003: Mark QUIC broken when the network blackholes after the handshake (Closed)
Patch Set: jana's comments Created 3 years, 8 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/chromium/quic_stream_factory_peer.h ('k') | net/quic/chromium/quic_stream_factory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_stream_factory_peer.cc
diff --git a/net/quic/chromium/quic_stream_factory_peer.cc b/net/quic/chromium/quic_stream_factory_peer.cc
index 955fd589761ab4fe1b3d535088d8884e4d747cb1..6352df98b5b7e71a747529f07d161dde0b01873b 100644
--- a/net/quic/chromium/quic_stream_factory_peer.cc
+++ b/net/quic/chromium/quic_stream_factory_peer.cc
@@ -199,5 +199,11 @@ int QuicStreamFactoryPeer::GetNumPushStreamsCreated(
return factory->num_push_streams_created_;
}
+void QuicStreamFactoryPeer::SetAlarmFactory(
+ QuicStreamFactory* factory,
+ std::unique_ptr<QuicAlarmFactory> alarm_factory) {
+ factory->alarm_factory_ = std::move(alarm_factory);
+}
+
} // namespace test
} // namespace net
« no previous file with comments | « net/quic/chromium/quic_stream_factory_peer.h ('k') | net/quic/chromium/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698