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..1b647c52d1c55c74d6d1515ceb2285719f08dc54 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, |
}; |
@@ -85,10 +84,12 @@ NET_EXPORT_PRIVATE AlternateProtocol AlternateProtocolFromNextProto( |
struct NET_EXPORT AlternateProtocolInfo { |
AlternateProtocolInfo(uint16 port, |
AlternateProtocol protocol, |
- double probability) |
+ double probability, |
+ bool is_broken = false) |
Ryan Hamilton
2014/11/05 17:05:19
Alas, using arguments with default values is prohi
Bence
2014/11/06 00:26:00
Done.
|
: port(port), |
protocol(protocol), |
- probability(probability) {} |
+ probability(probability), |
+ is_broken(is_broken) {} |
bool Equals(const AlternateProtocolInfo& other) const { |
return port == other.port && |
@@ -101,6 +102,7 @@ struct NET_EXPORT AlternateProtocolInfo { |
uint16 port; |
AlternateProtocol protocol; |
double probability; |
+ bool is_broken; |
}; |
struct NET_EXPORT SupportsQuic { |