Commit a9dca829 authored by Bence Béky's avatar Bence Béky Committed by Commit Bot

Remove unused SpdyStream::response_status_.

Change-Id: I1806570ef5d7d6f62dd2e7d3bbe9d33d7dce2646
Reviewed-on: https://chromium-review.googlesource.com/c/1484825Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
Commit-Queue: Bence Béky <bnc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#635228}
parent 0a6073e2
......@@ -106,7 +106,6 @@ SpdyStream::SpdyStream(SpdyStreamType type,
request_time_(base::Time::Now()),
response_state_(READY_FOR_HEADERS),
io_state_(STATE_IDLE),
response_status_(OK),
net_log_(net_log),
raw_received_bytes_(0),
raw_sent_bytes_(0),
......@@ -686,7 +685,6 @@ void SpdyStream::OnClose(int status) {
status = OK;
}
}
response_status_ = status;
Delegate* delegate = delegate_;
delegate_ = NULL;
if (delegate)
......
......@@ -370,8 +370,6 @@ class NET_EXPORT_PRIVATE SpdyStream {
// yet.
bool IsReservedRemote() const;
int response_status() const { return response_status_; }
void AddRawReceivedBytes(size_t received_bytes);
void AddRawSentBytes(size_t sent_bytes);
......@@ -512,10 +510,6 @@ class NET_EXPORT_PRIVATE SpdyStream {
State io_state_;
// Since we buffer the response, we also buffer the response status.
// Not valid until the stream is closed.
int response_status_;
NetLogWithSource net_log_;
base::TimeTicks send_time_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment