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

Unified Diff: net/http/http_pipelined_host_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: Merge 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
« no previous file with comments | « net/http/http_pipelined_host_forced_unittest.cc ('k') | net/http/http_pipelined_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 48c282b9a0b74fba00fe2337804f1097b7ff51eb..55e929ea10e0397026fd0620e9a7c9e7bbba4e95 100644
--- a/net/http/http_pipelined_host_impl.h
+++ b/net/http/http_pipelined_host_impl.h
@@ -37,7 +37,7 @@ class NET_EXPORT_PRIVATE HttpPipelinedHostImpl
public HttpPipelinedConnection::Delegate {
public:
HttpPipelinedHostImpl(HttpPipelinedHost::Delegate* delegate,
- const HostPortPair& origin,
+ const HttpPipelinedHost::Key& key,
HttpPipelinedConnection::Factory* factory,
HttpPipelinedHostCapability capability);
virtual ~HttpPipelinedHostImpl();
@@ -66,7 +66,7 @@ class NET_EXPORT_PRIVATE HttpPipelinedHostImpl
HttpPipelinedConnection* pipeline,
HttpPipelinedConnection::Feedback feedback) OVERRIDE;
- virtual const HostPortPair& origin() const OVERRIDE;
+ virtual const Key& GetKey() const OVERRIDE;
// Creates a Value summary of this host's |pipelines_|. Caller assumes
// ownership of the returned Value.
@@ -105,7 +105,7 @@ class NET_EXPORT_PRIVATE HttpPipelinedHostImpl
void NotifyAllPipelinesHaveCapacity();
HttpPipelinedHost::Delegate* delegate_;
- const HostPortPair origin_;
+ const Key key_;
PipelineInfoMap pipelines_;
scoped_ptr<HttpPipelinedConnection::Factory> factory_;
HttpPipelinedHostCapability capability_;
« no previous file with comments | « net/http/http_pipelined_host_forced_unittest.cc ('k') | net/http/http_pipelined_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698