Index: net/http/http_stream_factory.h |
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h |
index 0de3b65bc575070edf65eee00c15b7071846ca11..2a58206cf2a3b481b775f5e168b773955303b30b 100644 |
--- a/net/http/http_stream_factory.h |
+++ b/net/http/http_stream_factory.h |
@@ -298,8 +298,13 @@ class NET_EXPORT HttpStreamFactory { |
HttpStreamFactory(); |
private: |
+ // |protocol| must be a valid protocol value. |
+ static bool IsProtocolEnabled(AlternateProtocol protocol); |
+ static void SetProtocolEnabled(AlternateProtocol protocol); |
+ static void ResetEnabledProtocols(); |
+ |
static std::vector<std::string>* next_protos_; |
- static bool enabled_protocols_[NUM_ALTERNATE_PROTOCOLS]; |
+ static bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; |
static bool spdy_enabled_; |
static bool use_alternate_protocols_; |
static bool force_spdy_over_ssl_; |