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

Unified Diff: components/grpc_support/test/get_stream_engine.cc

Issue 2901093004: Add and persist a new field in AlternativeServiceInfo to list QUIC verisons advertised (Closed)
Patch Set: fix Canonical test Created 3 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
« no previous file with comments | « components/cronet/ios/cronet_environment.mm ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/grpc_support/test/get_stream_engine.cc
diff --git a/components/grpc_support/test/get_stream_engine.cc b/components/grpc_support/test/get_stream_engine.cc
index 8385f54fa2e4f19ed0aa384c8bbc6a2e6bbe0361..a4dbae0aa2e191c9f9e1662186baacb62793c60d 100644
--- a/components/grpc_support/test/get_stream_engine.cc
+++ b/components/grpc_support/test/get_stream_engine.cc
@@ -53,8 +53,9 @@ class BidirectionalStreamTestURLRequestContextGetter
params->enable_http2 = true;
net::AlternativeService alternative_service(net::kProtoQUIC, "", 443);
url::SchemeHostPort quic_hint_server("https", kTestServerHost, 443);
- server_properties_->SetAlternativeService(
- quic_hint_server, alternative_service, base::Time::Max());
+ server_properties_->SetQuicAlternativeService(
+ quic_hint_server, alternative_service, base::Time::Max(),
+ params->quic_supported_versions);
request_context_->set_cert_verifier(mock_cert_verifier_.get());
request_context_->set_host_resolver(host_resolver_.get());
« no previous file with comments | « components/cronet/ios/cronet_environment.mm ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698