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

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

Issue 2830563002: Remove the unused "Disable non-blocking IO" QUIC experiment code. (Closed)
Patch Set: Rebase 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.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.cc
diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc
index e334ede49aa69f0368b997bc76fbab0bee8bb002..56164761cd1ac6f27b41f3941451a863d0ce084e 100644
--- a/net/quic/chromium/quic_stream_factory.cc
+++ b/net/quic/chromium/quic_stream_factory.cc
@@ -655,7 +655,6 @@ QuicStreamFactory::QuicStreamFactory(
size_t max_packet_length,
const std::string& user_agent_id,
const QuicVersionVector& supported_versions,
- bool enable_non_blocking_io,
bool store_server_configs_in_properties,
bool close_sessions_on_ip_change,
bool mark_quic_broken_when_network_blackholes,
@@ -694,7 +693,6 @@ QuicStreamFactory::QuicStreamFactory(
transport_security_state,
cert_transparency_verifier))),
supported_versions_(supported_versions),
- enable_non_blocking_io_(enable_non_blocking_io),
mark_quic_broken_when_network_blackholes_(
mark_quic_broken_when_network_blackholes),
store_server_configs_in_properties_(store_server_configs_in_properties),
@@ -1424,8 +1422,7 @@ bool QuicStreamFactory::HasActiveCertVerifierJob(
int QuicStreamFactory::ConfigureSocket(DatagramClientSocket* socket,
IPEndPoint addr,
NetworkHandle network) {
- if (enable_non_blocking_io_)
- socket->UseNonBlockingIO();
+ socket->UseNonBlockingIO();
int rv;
if (migrate_sessions_on_network_change_) {
« no previous file with comments | « net/quic/chromium/quic_stream_factory.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