Index: net/http/http_server_properties.cc |
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc |
index 408ced8501b4d261d4b09fc83a223a8a0e821a6e..1a4291b728754a731a3a051c57077310955e62c0 100644 |
--- a/net/http/http_server_properties.cc |
+++ b/net/http/http_server_properties.cc |
@@ -103,8 +103,13 @@ std::string AlternativeService::ToString() const { |
} |
std::string AlternativeServiceInfo::ToString() const { |
- return base::StringPrintf("%s, p=%f", alternative_service.ToString().c_str(), |
- probability); |
+ base::Time::Exploded exploded; |
+ expiration.LocalExplode(&exploded); |
+ return base::StringPrintf("%s, p=%f, expires %04d-%02d-%02d %02d:%02d:%02d", |
+ alternative_service.ToString().c_str(), probability, |
+ exploded.year, exploded.month, |
+ exploded.day_of_month, exploded.hour, |
+ exploded.minute, exploded.second); |
} |
// static |