summaryrefslogtreecommitdiffstats
path: root/net/http/http_server_properties.cc
diff options
context:
space:
mode:
authorbnc <bnc@chromium.org>2015-03-11 17:13:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-12 00:14:17 +0000
commit9825fc06585af7bf868804a13e9064975d4ec374 (patch)
tree6b18f94c4cd2ea85fc4e1f7c71d0537bae1ba6b9 /net/http/http_server_properties.cc
parentdf6c2e7bf259b1e7ed9d5982847f7d5db6a22910 (diff)
downloadchromium_src-9825fc06585af7bf868804a13e9064975d4ec374.zip
chromium_src-9825fc06585af7bf868804a13e9064975d4ec374.tar.gz
chromium_src-9825fc06585af7bf868804a13e9064975d4ec374.tar.bz2
Add IsAlternativeServiceBroken(), remove is_broken.
Add HttpServerProperties::IsAlternativeServiceBroken(), remove AlternateProtocolInfo.is_broken. An alternative service can be broken by itself, not with respect to an origin. Patch Set 1 of this CL has been manually landed at https://crrev.com/995013004 and then reverted at https://crrev.com/999893002. BUG=392576 R=rch@chromium.org Review URL: https://codereview.chromium.org/997953003 Cr-Commit-Position: refs/heads/master@{#320189}
Diffstat (limited to 'net/http/http_server_properties.cc')
-rw-r--r--net/http/http_server_properties.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
index 60084ea..f002102 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -101,10 +101,8 @@ AlternateProtocol AlternateProtocolFromNextProto(NextProto next_proto) {
}
std::string AlternateProtocolInfo::ToString() const {
- return base::StringPrintf("%d:%s p=%f%s", port,
- AlternateProtocolToString(protocol),
- probability,
- is_broken ? " (broken)" : "");
+ return base::StringPrintf("%d:%s p=%f", port,
+ AlternateProtocolToString(protocol), probability);
}
// static