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

Unified Diff: net/http/http_response_body_drainer.h

Issue 275953002: Remove HTTP pipelining support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line endings Created 6 years, 7 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_stream.cc ('k') | net/http/http_response_body_drainer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_body_drainer.h
diff --git a/net/http/http_response_body_drainer.h b/net/http/http_response_body_drainer.h
index 284d08a99cd8c063402953d05400f45b38e1ae71..5c7713e254bb39ffce3a4c5bf87e513ee79c1f22 100644
--- a/net/http/http_response_body_drainer.h
+++ b/net/http/http_response_body_drainer.h
@@ -35,9 +35,6 @@ class NET_EXPORT_PRIVATE HttpResponseBodyDrainer {
// doesn't complete immediately, it will add itself to |session|.
void Start(HttpNetworkSession* session);
- // As above, but stop reading once |num_bytes_to_drain| has been reached.
- void StartWithSize(HttpNetworkSession* session, int num_bytes_to_drain);
-
private:
enum State {
STATE_DRAIN_RESPONSE_BODY,
@@ -54,7 +51,6 @@ class NET_EXPORT_PRIVATE HttpResponseBodyDrainer {
void OnTimerFired();
void Finish(int result);
- int read_size_;
scoped_refptr<IOBuffer> read_buf_;
const scoped_ptr<HttpStreamBase> stream_;
State next_state_;
« no previous file with comments | « net/http/http_pipelined_stream.cc ('k') | net/http/http_response_body_drainer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698