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

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: Created 3 years, 9 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
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 8ddb9dd649f47893ac2ee821d23e9c82f246b599..62763d251beef647351ef26e008f61353ca1f62f 100644
--- a/net/quic/chromium/quic_stream_factory_peer.cc
+++ b/net/quic/chromium/quic_stream_factory_peer.cc
@@ -203,5 +203,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

Powered by Google App Engine
This is Rietveld 408576698