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

Unified Diff: net/http/http_server_properties.h

Issue 2958133002: Change QuicStreamRequest::Request() to take a preferred QuicVersion so that (Closed)
Patch Set: Add QuicNetworkTransactionTest: select correct Quic Version 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
Index: net/http/http_server_properties.h
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
index a11d80222f239b32dcb26f36bfdfb6472df487f3..961544fea01ca83319feb47042cf1873e77c682a 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -175,6 +175,12 @@ class NET_EXPORT_PRIVATE AlternativeServiceInfo {
return alternative_service_;
}
+ const NextProto& protocol() const { return alternative_service_.protocol; }
Bence 2017/06/28 19:08:58 NextProto is an enum, might be better to return by
Zhongyi Shi 2017/07/05 23:08:59 Done.
+
+ HostPortPair host_port_pair() const {
+ return alternative_service_.host_port_pair();
+ }
+
base::Time expiration() const { return expiration_; }
const QuicVersionVector& advertised_versions() const {
« no previous file with comments | « no previous file | net/http/http_stream_factory_impl_job.h » ('j') | net/quic/chromium/quic_network_transaction_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698