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

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

Issue 1216703002: Implement multiple alternative services per origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/url_request_context_adapter.cc
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc
index 10be235aa42b1be35a24affcd9ff250ac3d955d6..8b73a515c08768ee9bba2a02b7e738d41e7f7138 100644
--- a/components/cronet/android/url_request_context_adapter.cc
+++ b/components/cronet/android/url_request_context_adapter.cc
@@ -192,7 +192,7 @@ void URLRequestContextAdapter::InitRequestContextOnNetworkThread() {
net::AlternativeService alternative_service(
net::AlternateProtocol::QUIC, "",
static_cast<uint16>(quic_hint.alternate_port));
- context_->http_server_properties()->SetAlternativeService(
+ context_->http_server_properties()->AddAlternativeService(
quic_hint_host_port_pair, alternative_service, 1.0f);
}
}

Powered by Google App Engine
This is Rietveld 408576698