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

Unified Diff: net/http/http_server_properties_impl.cc

Issue 2901093004: Add and persist a new field in AlternativeServiceInfo to list QUIC verisons advertised (Closed)
Patch Set: self review 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
Index: net/http/http_server_properties_impl.cc
diff --git a/net/http/http_server_properties_impl.cc b/net/http/http_server_properties_impl.cc
index 7cc4a3298a2f9780dfa30e4059f073ccc824d8e2..9bbdeb5a71ee6fd462d6e0820c28d59a27b6758f 100644
--- a/net/http/http_server_properties_impl.cc
+++ b/net/http/http_server_properties_impl.cc
@@ -375,11 +375,13 @@ HttpServerPropertiesImpl::GetAlternativeServiceInfos(
bool HttpServerPropertiesImpl::SetAlternativeService(
const url::SchemeHostPort& origin,
const AlternativeService& alternative_service,
- base::Time expiration) {
+ base::Time expiration,
+ const QuicVersionVector& advertised_versions) {
return SetAlternativeServices(
origin,
AlternativeServiceInfoVector(
- /*size=*/1, AlternativeServiceInfo(alternative_service, expiration)));
+ /*size=*/1, AlternativeServiceInfo(alternative_service, expiration,
+ advertised_versions)));
}
bool HttpServerPropertiesImpl::SetAlternativeServices(

Powered by Google App Engine
This is Rietveld 408576698