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

Unified Diff: net/http/http_stream_factory_impl.h

Issue 9567025: Ensure pipelined requests are sent in the same order they're queued. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 653c2e1cc04752914471f04cf4f6e08e51208ff5..103e2c6d09e69cfaeaa94e639c1f760bf9e2b325 100644
--- a/net/http/http_stream_factory_impl.h
+++ b/net/http/http_stream_factory_impl.h
@@ -7,6 +7,7 @@
#include <map>
#include <set>
+#include <vector>
#include "base/memory/ref_counted.h"
#include "net/base/host_port_pair.h"
@@ -54,8 +55,10 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl :
class Job;
typedef std::set<Request*> RequestSet;
+ typedef std::vector<Request*> RequestVector;
typedef std::map<HostPortProxyPair, RequestSet> SpdySessionRequestMap;
- typedef std::map<HttpPipelinedHost::Key, RequestSet> HttpPipeliningRequestMap;
+ typedef std::map<HttpPipelinedHost::Key,
+ RequestVector> HttpPipeliningRequestMap;
bool GetAlternateProtocolRequestFor(const GURL& original_url,
GURL* alternate_url) const;

Powered by Google App Engine
This is Rietveld 408576698