summaryrefslogtreecommitdiffstats
path: root/net/http/http_server_properties.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_server_properties.cc')
-rw-r--r--net/http/http_server_properties.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
index 1a9bfb6..abc5cb1 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -111,9 +111,10 @@ AlternateProtocol AlternateProtocolFromNextProto(NextProto next_proto) {
return UNINITIALIZED_ALTERNATE_PROTOCOL;
}
-std::string PortAlternateProtocolPair::ToString() const {
- return base::StringPrintf("%d:%s", port,
- AlternateProtocolToString(protocol));
+std::string AlternateProtocolInfo::ToString() const {
+ return base::StringPrintf("%d:%s p=%f", port,
+ AlternateProtocolToString(protocol),
+ probability);
}
} // namespace net