Index: net/http/http_server_properties.cc |
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc |
index 2d7bcecc1cf7e2a68d8f1263452c4887ae409255..04f6d1a8a359107b40ebe84914e60db86e5db038 100644 |
--- a/net/http/http_server_properties.cc |
+++ b/net/http/http_server_properties.cc |
@@ -78,6 +78,26 @@ bool IsAlternateProtocolValid(NextProto protocol) { |
return false; |
} |
+AlternativeServiceInfo::AlternativeServiceInfo() : alternative_service() {} |
+ |
+AlternativeServiceInfo::~AlternativeServiceInfo() {} |
+ |
+AlternativeServiceInfo::AlternativeServiceInfo( |
+ const AlternativeService& alternative_service, |
+ base::Time expiration) |
+ : alternative_service(alternative_service), expiration(expiration) {} |
+ |
+AlternativeServiceInfo::AlternativeServiceInfo( |
+ const AlternativeService& alternative_service, |
+ base::Time expiration, |
+ const QuicVersionVector& advertised_versions) |
+ : alternative_service(alternative_service), |
+ expiration(expiration), |
+ advertised_versions(advertised_versions) {} |
+ |
+AlternativeServiceInfo::AlternativeServiceInfo( |
+ const AlternativeServiceInfo& alternative_service_info) = default; |
+ |
std::string AlternativeService::ToString() const { |
return base::StringPrintf("%s %s:%d", NextProtoToString(protocol), |
host.c_str(), port); |