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..2af9642894ac60b26c9af9830a607e38f0811630 100644 |
--- a/net/http/http_stream_factory_impl_job.h |
+++ b/net/http/http_stream_factory_impl_job.h |
@@ -27,6 +27,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 +204,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 +263,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_; |
+ QuicHttpStream* quic_stream_; |
+ |
// 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_; |