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

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: Fix build on other platforms 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_pipelined_host_impl.h
diff --git a/net/http/http_pipelined_host_impl.h b/net/http/http_pipelined_host_impl.h
index 48c282b9a0b74fba00fe2337804f1097b7ff51eb..6df14543915b69ba6fabfca052aaab448f9377f5 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& key() const OVERRIDE;
mmenke 2012/02/23 18:54:58 Since this is virtual, it really should be GetKey(
James Simonsen 2012/02/23 23:49:46 Done. I still have a note to myself to fix these
// 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_;

Powered by Google App Engine
This is Rietveld 408576698