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

Unified Diff: components/cronet/android/cronet_url_request_context_adapter.cc

Issue 665083009: ABANDONED Handle multiple AlternateProtocols for each HostPortPair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another Cronet occurrence. Created 5 years, 11 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: components/cronet/android/cronet_url_request_context_adapter.cc
diff --git a/components/cronet/android/cronet_url_request_context_adapter.cc b/components/cronet/android/cronet_url_request_context_adapter.cc
index 1e02bc06c439c5d2fc84ece9836474cf8cb95240..919ae718eb7c03b95240833cc3f529a784981f56 100644
--- a/components/cronet/android/cronet_url_request_context_adapter.cc
+++ b/components/cronet/android/cronet_url_request_context_adapter.cc
@@ -187,7 +187,7 @@ void CronetURLRequestContextAdapter::InitializeOnNetworkThread(
net::HostPortPair quic_hint_host_port_pair(canon_host,
quic_hint.port);
- context_->http_server_properties()->SetAlternateProtocol(
+ context_->http_server_properties()->AddAlternateProtocol(
quic_hint_host_port_pair,
static_cast<uint16>(quic_hint.alternate_port),
net::AlternateProtocol::QUIC,
« no previous file with comments | « no previous file | components/cronet/android/url_request_context_adapter.cc » ('j') | net/http/http_server_properties_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698