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

Unified Diff: net/http/http_stream_factory_impl_job_controller.cc

Issue 2873243004: Do not mark QUIC as bad on network change events (Closed)
Patch Set: Created 3 years, 7 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/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl_job_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3978ac26d61d516a09a7fa29d4adda8ccc9ef642..11a3d60cb596313ec703fbaee398129ed671d771 100644
--- a/net/http/http_stream_factory_impl_job_controller.cc
+++ b/net/http/http_stream_factory_impl_job_controller.cc
@@ -862,9 +862,8 @@ void HttpStreamFactoryImpl::JobController::ReportBrokenAlternativeService() {
UMA_HISTOGRAM_SPARSE_SLOWLY("Net.AlternateServiceFailed",
-alternative_job_net_error_);
- if (session_->params().quic_do_not_mark_as_broken_on_network_change &&
- (alternative_job_net_error_ == ERR_NETWORK_CHANGED ||
- alternative_job_net_error_ == ERR_INTERNET_DISCONNECTED)) {
+ if (alternative_job_net_error_ == ERR_NETWORK_CHANGED ||
+ alternative_job_net_error_ == ERR_INTERNET_DISCONNECTED) {
// No need to mark alternative service or proxy as broken.
return;
}
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl_job_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698