| Index: net/http/http_network_layer.cc
|
| diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
|
| index b326438d2950b2c2a8f0887cf3ce4b5682a2a720..4989b5de5b927c0746aabdd24b25bc1d62cdb6b3 100644
|
| --- a/net/http/http_network_layer.cc
|
| +++ b/net/http/http_network_layer.cc
|
| @@ -11,6 +11,7 @@
|
| #include "net/http/http_network_session.h"
|
| #include "net/http/http_network_transaction.h"
|
| #include "net/http/http_server_properties_impl.h"
|
| +#include "net/http/http_stream_factory_impl_job.h"
|
| #include "net/spdy/spdy_framer.h"
|
| #include "net/spdy/spdy_session.h"
|
| #include "net/spdy/spdy_session_pool.h"
|
| @@ -100,6 +101,14 @@ void HttpNetworkLayer::EnableSpdy(const std::string& mode) {
|
| }
|
| }
|
|
|
| +// static
|
| +void HttpNetworkLayer::EnableQuic(const std::string& value) {
|
| + int port;
|
| + if (base::StringToInt(value, &port) && port > 0) {
|
| + HttpStreamFactory::set_force_quic_port(port);
|
| + }
|
| +}
|
| +
|
| //-----------------------------------------------------------------------------
|
|
|
| int HttpNetworkLayer::CreateTransaction(scoped_ptr<HttpTransaction>* trans,
|
|
|