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

Unified Diff: net/http/http_stream_factory_impl.cc

Issue 1904483004: Change SupportsSpdy dict, SpdySettingsMap, ServerNetworkStatsMap, AlternativeServiceMap and disk da… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile after sync code, introduced by commit 388755 Created 4 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/http/http_stream_factory.cc ('k') | net/http/http_stream_factory_impl_job.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.cc
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
index bfdd63699ff7b877f24317fdebb73c017392e286..6a9347de31edf6294f51bdf30f596e0d63a46a1d 100644
--- a/net/http/http_stream_factory_impl.cc
+++ b/net/http/http_stream_factory_impl.cc
@@ -184,7 +184,7 @@ AlternativeService HttpStreamFactoryImpl::GetAlternativeServiceFor(
if (original_url.SchemeIs("ftp"))
return AlternativeService();
- HostPortPair origin = HostPortPair::FromURL(original_url);
+ url::SchemeHostPort origin(original_url);
HttpServerProperties& http_server_properties =
*session_->http_server_properties();
const AlternativeServiceVector alternative_service_vector =
@@ -264,7 +264,7 @@ AlternativeService HttpStreamFactoryImpl::GetAlternativeServiceFor(
ignore_result(ApplyHostMappingRules(original_url, &destination));
QuicServerId server_id(destination, request_info.privacy_mode);
- HostPortPair origin_copy(origin);
+ HostPortPair origin_copy(origin.host(), origin.port());
ignore_result(ApplyHostMappingRules(original_url, &origin_copy));
if (session_->quic_stream_factory()->CanUseExistingSession(
« no previous file with comments | « net/http/http_stream_factory.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698