Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: net/http/http_server_properties.cc

Issue 995013004: Add IsAlternativeServiceBroken(), remove is_broken. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More nits. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_server_properties.cc
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
index 514ef4f94f2c0e1368217212cdc9cb4f79007926..c11b35fa74fb22c2b8c473ace9ef30a24c03d287 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -105,10 +105,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

Powered by Google App Engine
This is Rietveld 408576698