Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: net/http/http_stream_factory_impl.h

Issue 9433015: Add a force pipelining option to load flags. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: More tests Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_stream_factory_impl.h
diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h
index 36564ac9c1d20b1672b9f41ccc59b9f743128020..653c2e1cc04752914471f04cf4f6e08e51208ff5 100644
--- a/net/http/http_stream_factory_impl.h
+++ b/net/http/http_stream_factory_impl.h
@@ -47,7 +47,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl :
// HttpPipelinedHostPool::Delegate interface
virtual void OnHttpPipelinedHostHasAdditionalCapacity(
- const HostPortPair& origin) OVERRIDE;
+ HttpPipelinedHost* host) OVERRIDE;
private:
class Request;
@@ -55,7 +55,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl :
typedef std::set<Request*> RequestSet;
typedef std::map<HostPortProxyPair, RequestSet> SpdySessionRequestMap;
- typedef std::map<HostPortPair, RequestSet> HttpPipeliningRequestMap;
+ typedef std::map<HttpPipelinedHost::Key, RequestSet> HttpPipeliningRequestMap;
bool GetAlternateProtocolRequestFor(const GURL& original_url,
GURL* alternate_url) const;
@@ -89,6 +89,11 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl :
// Called when the Preconnect completes. Used for testing.
virtual void OnPreconnectsCompleteInternal() {}
+ void AbortPipelinedRequestsWithKey(const Job* job,
+ const HttpPipelinedHost::Key& key,
+ int status,
+ const SSLConfig& used_ssl_config);
+
HttpNetworkSession* const session_;
std::set<HostPortPair> tls_intolerant_servers_;

Powered by Google App Engine
This is Rietveld 408576698