| Index: net/spdy/buffered_spdy_framer.cc
|
| diff --git a/net/spdy/buffered_spdy_framer.cc b/net/spdy/buffered_spdy_framer.cc
|
| index fc583686fd94c2c19872b4ec075dd39eeec83c8f..fbedb84c1e49a12b334bbed44db7ef79f9bb5e38 100644
|
| --- a/net/spdy/buffered_spdy_framer.cc
|
| +++ b/net/spdy/buffered_spdy_framer.cc
|
| @@ -147,15 +147,15 @@ void BufferedSpdyFramer::OnPing(SpdyPingId unique_id, bool is_ack) {
|
| }
|
|
|
| void BufferedSpdyFramer::OnRstStream(SpdyStreamId stream_id,
|
| - SpdyRstStreamStatus status) {
|
| - visitor_->OnRstStream(stream_id, status);
|
| + SpdyErrorCode error_code) {
|
| + visitor_->OnRstStream(stream_id, error_code);
|
| }
|
| void BufferedSpdyFramer::OnGoAway(SpdyStreamId last_accepted_stream_id,
|
| - SpdyGoAwayStatus status) {
|
| + SpdyErrorCode error_code) {
|
| DCHECK(!goaway_fields_);
|
| goaway_fields_.reset(new GoAwayFields());
|
| goaway_fields_->last_accepted_stream_id = last_accepted_stream_id;
|
| - goaway_fields_->status = status;
|
| + goaway_fields_->error_code = error_code;
|
| }
|
|
|
| bool BufferedSpdyFramer::OnGoAwayFrameData(const char* goaway_data,
|
| @@ -169,7 +169,7 @@ bool BufferedSpdyFramer::OnGoAwayFrameData(const char* goaway_data,
|
| return true;
|
| }
|
| visitor_->OnGoAway(goaway_fields_->last_accepted_stream_id,
|
| - goaway_fields_->status, goaway_fields_->debug_data);
|
| + goaway_fields_->error_code, goaway_fields_->debug_data);
|
| goaway_fields_.reset();
|
| return true;
|
| }
|
| @@ -239,8 +239,8 @@ bool BufferedSpdyFramer::HasError() {
|
| // SpdyRstStreamIR).
|
| SpdySerializedFrame* BufferedSpdyFramer::CreateRstStream(
|
| SpdyStreamId stream_id,
|
| - SpdyRstStreamStatus status) const {
|
| - SpdyRstStreamIR rst_ir(stream_id, status);
|
| + SpdyErrorCode error_code) const {
|
| + SpdyRstStreamIR rst_ir(stream_id, error_code);
|
| return new SpdySerializedFrame(spdy_framer_.SerializeRstStream(rst_ir));
|
| }
|
|
|
| @@ -267,9 +267,9 @@ SpdySerializedFrame* BufferedSpdyFramer::CreatePingFrame(SpdyPingId unique_id,
|
| // TODO(jgraettinger): Eliminate uses of this method (prefer SpdyGoAwayIR).
|
| SpdySerializedFrame* BufferedSpdyFramer::CreateGoAway(
|
| SpdyStreamId last_accepted_stream_id,
|
| - SpdyGoAwayStatus status,
|
| + SpdyErrorCode error_code,
|
| base::StringPiece debug_data) const {
|
| - SpdyGoAwayIR go_ir(last_accepted_stream_id, status, debug_data);
|
| + SpdyGoAwayIR go_ir(last_accepted_stream_id, error_code, debug_data);
|
| return new SpdySerializedFrame(spdy_framer_.SerializeGoAway(go_ir));
|
| }
|
|
|
|
|