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

Unified Diff: net/quic/quic_stream_factory_test.cc

Issue 2113343002: QUIC - added force_hol_blocking field trial param to enable forced HOL blocking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126418608
Patch Set: Created 4 years, 6 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
« net/quic/quic_stream_factory.cc ('K') | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory_test.cc
diff --git a/net/quic/quic_stream_factory_test.cc b/net/quic/quic_stream_factory_test.cc
index c8da53ce761c46ee916fa88bd5dfb89cdd6bf715..739053e5ce96b281b38eba2d4ced366f017b4a9e 100644
--- a/net/quic/quic_stream_factory_test.cc
+++ b/net/quic/quic_stream_factory_test.cc
@@ -315,7 +315,8 @@ class QuicStreamFactoryTestBase {
disable_quic_on_timeout_with_open_streams_(false),
idle_connection_timeout_seconds_(kIdleConnectionTimeoutSeconds),
migrate_sessions_on_network_change_(false),
- migrate_sessions_early_(false) {
+ migrate_sessions_early_(false),
+ force_hol_blocking_(false) {
clock_->AdvanceTime(QuicTime::Delta::FromSeconds(1));
}
@@ -347,7 +348,7 @@ class QuicStreamFactoryTestBase {
close_sessions_on_ip_change_,
disable_quic_on_timeout_with_open_streams_,
idle_connection_timeout_seconds_, migrate_sessions_on_network_change_,
- migrate_sessions_early_, QuicTagVector(),
+ migrate_sessions_early_, force_hol_blocking_, QuicTagVector(),
/*enable_token_binding*/ false));
factory_->set_require_confirmation(false);
EXPECT_FALSE(factory_->has_quic_server_info_factory());
@@ -540,6 +541,7 @@ class QuicStreamFactoryTestBase {
int idle_connection_timeout_seconds_;
bool migrate_sessions_on_network_change_;
bool migrate_sessions_early_;
+ bool force_hol_blocking_;
};
class QuicStreamFactoryTest : public QuicStreamFactoryTestBase,
« net/quic/quic_stream_factory.cc ('K') | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698