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

Unified Diff: net/http/http_stream_factory_impl_job_controller.cc

Issue 2318053004: Remove obsolete QUIC disabling code. (Closed)
Patch Set: fix Created 4 years, 3 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/http/http_stream_factory_impl_job_controller.cc
diff --git a/net/http/http_stream_factory_impl_job_controller.cc b/net/http/http_stream_factory_impl_job_controller.cc
index 0083cc433832a126fd423fae0f82e14f04297ec6..d9c4b6e774c593d67ccac6d889b20b5dec3dca96 100644
--- a/net/http/http_stream_factory_impl_job_controller.cc
+++ b/net/http/http_stream_factory_impl_job_controller.cc
@@ -908,8 +908,7 @@ HttpStreamFactoryImpl::JobController::GetAlternativeServiceForInternal(
continue;
}
- if (session_->quic_stream_factory()->IsQuicDisabled(
- alternative_service.port))
+ if (session_->quic_stream_factory()->IsQuicDisabled())
continue;
if (!original_url.SchemeIs("https"))
@@ -997,11 +996,9 @@ bool HttpStreamFactoryImpl::JobController::
}
if (alternative_proxy_server->is_quic()) {
- // Check that QUIC is enabled globally, and it is not disabled on
- // the specified port.
+ // Check that QUIC is enabled globally, and it is not disabled.
if (!session_->params().enable_quic ||
- session_->quic_stream_factory()->IsQuicDisabled(
- alternative_proxy_server->host_port_pair().port())) {
+ session_->quic_stream_factory()->IsQuicDisabled()) {
return false;
}
}

Powered by Google App Engine
This is Rietveld 408576698