Index: net/http/http_stream_factory_impl_job.h |
diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h |
index 97f46376cbd2936ed5f4e9f1985e918f905baaa5..5494097800bf25ad54ec5e7d3eecbe2fdca16692 100644 |
--- a/net/http/http_stream_factory_impl_job.h |
+++ b/net/http/http_stream_factory_impl_job.h |
@@ -17,6 +17,7 @@ |
#include "net/http/http_request_info.h" |
#include "net/http/http_stream_factory_impl.h" |
#include "net/proxy/proxy_service.h" |
+#include "net/quic/quic_stream_factory.h" |
#include "net/socket/client_socket_handle.h" |
#include "net/socket/ssl_client_socket.h" |
@@ -27,6 +28,7 @@ class HttpAuthController; |
class HttpNetworkSession; |
class HttpStream; |
class SpdySessionPool; |
+class QuicHttpStream; |
// An HttpStreamRequestImpl exists for each stream which is in progress of being |
// created for the StreamFactory. |
@@ -203,6 +205,9 @@ class HttpStreamFactoryImpl::Job { |
// Should we force SPDY to run without SSL for this stream request. |
bool ShouldForceSpdyWithoutSSL() const; |
+ // Should we force QUIC for this stream request. |
+ bool ShouldForceQuic() const; |
+ |
bool IsRequestEligibleForPipelining(); |
// Record histograms of latency until Connect() completes. |
@@ -259,12 +264,19 @@ class HttpStreamFactoryImpl::Job { |
// True if this network transaction is using SPDY instead of HTTP. |
bool using_spdy_; |
+ // True if this network transaction is using QUIC instead of HTTP. |
+ bool using_quic_; |
+ QuicStreamRequest quic_request_; |
+ |
// Force spdy for all connections. |
bool force_spdy_always_; |
// Force spdy only for SSL connections. |
bool force_spdy_over_ssl_; |
+ // Force quic for a specific port. |
+ int force_quic_port_; |
+ |
// The certificate error while using SPDY over SSL for insecure URLs. |
int spdy_certificate_error_; |