| Index: net/http/http_server_properties.cc
|
| diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
|
| index f0021027f4af4e00fde0d0d230496ab426381798..174b174824b42518c25dbe8014518311b7be3b7a 100644
|
| --- a/net/http/http_server_properties.cc
|
| +++ b/net/http/http_server_properties.cc
|
| @@ -100,9 +100,14 @@ AlternateProtocol AlternateProtocolFromNextProto(NextProto next_proto) {
|
| return UNINITIALIZED_ALTERNATE_PROTOCOL;
|
| }
|
|
|
| -std::string AlternateProtocolInfo::ToString() const {
|
| - return base::StringPrintf("%d:%s p=%f", port,
|
| - AlternateProtocolToString(protocol), probability);
|
| +std::string AlternativeService::ToString() const {
|
| + return base::StringPrintf("(%s, %s, %d)", AlternateProtocolToString(protocol),
|
| + host.c_str(), port);
|
| +}
|
| +
|
| +std::string AlternativeServiceInfo::ToString() const {
|
| + return base::StringPrintf("%s, p=%f", alternative_service.ToString().c_str(),
|
| + probability);
|
| }
|
|
|
| // static
|
|
|