| Index: net/http/http_server_properties.h
|
| diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
|
| index edf598ff029c4e6f79119c702fb001c2d33913c4..337f22de3695535bca8c0cc37ba75ebeb2b8e0d2 100644
|
| --- a/net/http/http_server_properties.h
|
| +++ b/net/http/http_server_properties.h
|
| @@ -61,7 +61,6 @@ enum AlternateProtocol {
|
| NPN_SPDY_MAXIMUM_VERSION = NPN_SPDY_4,
|
| QUIC,
|
| ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION = QUIC,
|
| - ALTERNATE_PROTOCOL_BROKEN, // The alternate protocol is known to be broken.
|
| UNINITIALIZED_ALTERNATE_PROTOCOL,
|
| };
|
|
|
| @@ -88,7 +87,17 @@ struct NET_EXPORT AlternateProtocolInfo {
|
| double probability)
|
| : port(port),
|
| protocol(protocol),
|
| - probability(probability) {}
|
| + probability(probability),
|
| + is_broken(false) {}
|
| +
|
| + AlternateProtocolInfo(uint16 port,
|
| + AlternateProtocol protocol,
|
| + double probability,
|
| + bool is_broken)
|
| + : port(port),
|
| + protocol(protocol),
|
| + probability(probability),
|
| + is_broken(is_broken) {}
|
|
|
| bool Equals(const AlternateProtocolInfo& other) const {
|
| return port == other.port &&
|
| @@ -101,6 +110,7 @@ struct NET_EXPORT AlternateProtocolInfo {
|
| uint16 port;
|
| AlternateProtocol protocol;
|
| double probability;
|
| + bool is_broken;
|
| };
|
|
|
| struct NET_EXPORT SupportsQuic {
|
|
|