| Index: net/http/http_stream_factory.h
|
| diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
|
| index 5f6ef2f8265fabf07ec887020a1ba5e3ef8cbf5b..dabe9121fe25bb76074d1520a928d6f9d9199cff 100644
|
| --- a/net/http/http_stream_factory.h
|
| +++ b/net/http/http_stream_factory.h
|
| @@ -247,6 +247,14 @@ class NET_EXPORT HttpStreamFactory {
|
| return *next_protos_;
|
| }
|
|
|
| + // Sets QUIC to be used for all requests on the specified port.
|
| + static void set_force_quic_port(int port) {
|
| + force_quic_port_ = port;
|
| + }
|
| + static int force_quic_port() {
|
| + return force_quic_port_;
|
| + }
|
| +
|
| protected:
|
| HttpStreamFactory();
|
|
|
| @@ -257,6 +265,7 @@ class NET_EXPORT HttpStreamFactory {
|
| static bool use_alternate_protocols_;
|
| static bool force_spdy_over_ssl_;
|
| static bool force_spdy_always_;
|
| + static int force_quic_port_;
|
| static std::list<HostPortPair>* forced_spdy_exclusions_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
|
|
|