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_; |