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 48ef2a26489c40c6b3d2ba3b524fa19ef1d11966..71fc1620dce38dcc199ad5c078ab704cf0f9ee79 100644 |
--- a/net/http/http_stream_factory_impl_job.h |
+++ b/net/http/http_stream_factory_impl_job.h |
@@ -24,6 +24,7 @@ namespace net { |
class ClientSocketHandle; |
class HttpAuthController; |
class HttpNetworkSession; |
+class HttpPipelinedConnection; |
class HttpProxySocketParams; |
class HttpStream; |
class SOCKSSocketParams; |
@@ -198,6 +199,8 @@ class HttpStreamFactoryImpl::Job { |
// Should we force SPDY to run without SSL for this stream request. |
bool ShouldForceSpdyWithoutSSL() const; |
+ bool IsRequestEligibleForPipelining() const; |
+ |
// Record histograms of latency until Connect() completes. |
static void LogHttpConnectedMetrics(const ClientSocketHandle& handle); |
@@ -277,6 +280,9 @@ class HttpStreamFactoryImpl::Job { |
// Only used if |new_spdy_session_| is non-NULL. |
bool spdy_session_direct_; |
+ // Initialized when an existing pipeline can handle this job's request. |
+ HttpPipelinedConnection* existing_available_pipeline_; |
+ |
ScopedRunnableMethodFactory<Job> method_factory_; |
DISALLOW_COPY_AND_ASSIGN(Job); |