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

Unified Diff: net/http/http_stream_factory_impl_job.cc

Issue 2140733002: Remove HttpStreamFactory::spdy_enabled_ static member and accessors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop half of this CL. Created 4 years, 5 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.cc
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc
index a779d7fb7765acc9d22639eff13bf04a9a3c6911..473c8e8268816ce185c9d87353e242a79ada3960 100644
--- a/net/http/http_stream_factory_impl_job.cc
+++ b/net/http/http_stream_factory_impl_job.cc
@@ -1608,8 +1608,7 @@ int HttpStreamFactoryImpl::Job::HandleCertificateError(int error) {
}
void HttpStreamFactoryImpl::Job::SwitchToSpdyMode() {
- if (HttpStreamFactory::spdy_enabled())
- using_spdy_ = true;
+ using_spdy_ = true;
mef 2016/07/13 18:26:32 Does using_spdy_ mean using_h2 now?
Bence 2016/07/15 20:35:33 Yes, it does. Usually "spdy" in the codebase mean
}
void HttpStreamFactoryImpl::Job::ReportJobSucceededForRequest() {

Powered by Google App Engine
This is Rietveld 408576698