summaryrefslogtreecommitdiffstats
path: root/net/http/http_server_properties.cc
diff options
context:
space:
mode:
authorrch <rch@chromium.org>2016-03-07 13:51:08 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-07 21:52:12 +0000
commitdced4c771d25317d26a0f6e258c7b7f64d4e8eea (patch)
tree79cad52eabc796a4fbfffeaf1f4fc371d9fc8955 /net/http/http_server_properties.cc
parent248b114c9d3034964c7259222712dfcccfad8f48 (diff)
downloadchromium_src-dced4c771d25317d26a0f6e258c7b7f64d4e8eea.zip
chromium_src-dced4c771d25317d26a0f6e258c7b7f64d4e8eea.tar.gz
chromium_src-dced4c771d25317d26a0f6e258c7b7f64d4e8eea.tar.bz2
Remove support forAlt-Svc/Alternate Protocol Probability
Review URL: https://codereview.chromium.org/1699653002 Cr-Commit-Position: refs/heads/master@{#379652}
Diffstat (limited to 'net/http/http_server_properties.cc')
-rw-r--r--net/http/http_server_properties.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
index fc6281e..850418d 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -97,11 +97,10 @@ std::string AlternativeService::ToString() const {
std::string AlternativeServiceInfo::ToString() const {
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);
+ return base::StringPrintf(
+ "%s, expires %04d-%02d-%02d %02d:%02d:%02d",
+ alternative_service.ToString().c_str(), exploded.year, exploded.month,
+ exploded.day_of_month, exploded.hour, exploded.minute, exploded.second);
}
// static