Index: net/http/http_pipelined_host_impl.h |
diff --git a/net/http/http_pipelined_host_impl.h b/net/http/http_pipelined_host_impl.h |
index f74de88489fdf2938a46a5025cf5a5bce33a2140..c1d745c4ca7226ce3162ce2b8897216826a5307c 100644 |
--- a/net/http/http_pipelined_host_impl.h |
+++ b/net/http/http_pipelined_host_impl.h |
@@ -85,6 +85,15 @@ class NET_EXPORT_PRIVATE HttpPipelinedHostImpl |
// not be called if |capability_| is INCAPABLE. |
int GetPipelineCapacity() const; |
+ // Returns true if |pipeline| can handle a new request. This is true if the |
+ // |pipeline| is active, usable, has capacity, and |capability_| is |
+ // sufficient. |
+ bool CanPipelineAcceptRequests(HttpPipelinedConnection* pipeline) const; |
+ |
+ // Called when |this| moves from UNKNOWN |capability_| to PROBABLY_CAPABLE. |
+ // Causes all pipelines to increase capacity to start pipelining. |
+ void NotifyAllPipelinesHaveCapacity(); |
+ |
HttpPipelinedHost::Delegate* delegate_; |
const HostPortPair origin_; |
PipelineInfoMap pipelines_; |