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

Unified Diff: net/http/http_server_properties.h

Issue 2958133002: Change QuicStreamRequest::Request() to take a preferred QuicVersion so that (Closed)
Patch Set: Add QuicStreamFactoryTest 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 | « no previous file | net/http/http_stream_factory_impl_job.h » ('j') | net/http/http_stream_factory_impl_job.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
+
+ HostPortPair host_port_pair() const {
Ryan Hamilton 2017/06/28 18:53:14 Should this be a const& to avoid the (possible) st
Zhongyi Shi 2017/07/05 23:08:59 alternative_service_.host_port_pair() is a local t
+ 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/http/http_stream_factory_impl_job.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698