summaryrefslogtreecommitdiffstats
path: root/net/http/http_server_properties.cc
diff options
context:
space:
mode:
authorbnc <bnc@chromium.org>2015-03-12 18:57:09 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-13 01:58:00 +0000
commit8445b3008c2f3d67290a64d9d1f0f5b924e5a6d6 (patch)
tree6d1d27209506b0c7e28aca3159b09d40884ec30d /net/http/http_server_properties.cc
parentf03f6c5c2296fc93a18e535e3f27c3ca039e20f2 (diff)
downloadchromium_src-8445b3008c2f3d67290a64d9d1f0f5b924e5a6d6.zip
chromium_src-8445b3008c2f3d67290a64d9d1f0f5b924e5a6d6.tar.gz
chromium_src-8445b3008c2f3d67290a64d9d1f0f5b924e5a6d6.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 Committed: https://crrev.com/9825fc06585af7bf868804a13e9064975d4ec374 Cr-Commit-Position: refs/heads/master@{#320189} Review URL: https://codereview.chromium.org/997953003 Cr-Commit-Position: refs/heads/master@{#320428}
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