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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 2675593002: Spdy{RstStream,GoAway}Status -> SpdyErrorCode. (Closed)
Patch Set: Merged master, which includes 145087791. Created 3 years, 11 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/spdy/spdy_test_util_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_util_common.cc
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc
index d2a9c71fdf1d022a75542da5bf88c146466c8925..e3dee8795c6b9b5e6d7c39a7914864965bfe33fa 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -213,10 +213,9 @@ class PriorityGetter : public BufferedSpdyFramerVisitorInterface {
void OnSettings() override {}
void OnSetting(SpdySettingsIds id, uint32_t value) override {}
void OnPing(SpdyPingId unique_id, bool is_ack) override {}
- void OnRstStream(SpdyStreamId stream_id,
- SpdyRstStreamStatus status) override {}
+ void OnRstStream(SpdyStreamId stream_id, SpdyErrorCode error_code) override {}
void OnGoAway(SpdyStreamId last_accepted_stream_id,
- SpdyGoAwayStatus status,
+ SpdyErrorCode error_code,
base::StringPiece debug_data) override {}
void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {}
void OnPushPromise(SpdyStreamId stream_id,
@@ -763,15 +762,15 @@ SpdySerializedFrame SpdyTestUtil::ConstructSpdyGoAway() {
SpdySerializedFrame SpdyTestUtil::ConstructSpdyGoAway(
SpdyStreamId last_good_stream_id) {
- SpdyGoAwayIR go_ir(last_good_stream_id, GOAWAY_NO_ERROR, "go away");
+ SpdyGoAwayIR go_ir(last_good_stream_id, ERROR_CODE_NO_ERROR, "go away");
return SpdySerializedFrame(headerless_spdy_framer_.SerializeFrame(go_ir));
}
SpdySerializedFrame SpdyTestUtil::ConstructSpdyGoAway(
SpdyStreamId last_good_stream_id,
- SpdyGoAwayStatus status,
+ SpdyErrorCode error_code,
const std::string& desc) {
- SpdyGoAwayIR go_ir(last_good_stream_id, status, desc);
+ SpdyGoAwayIR go_ir(last_good_stream_id, error_code, desc);
return SpdySerializedFrame(headerless_spdy_framer_.SerializeFrame(go_ir));
}
@@ -786,8 +785,8 @@ SpdySerializedFrame SpdyTestUtil::ConstructSpdyWindowUpdate(
// SpdyRstStreamIR).
SpdySerializedFrame SpdyTestUtil::ConstructSpdyRstStream(
SpdyStreamId stream_id,
- SpdyRstStreamStatus status) {
- SpdyRstStreamIR rst_ir(stream_id, status);
+ SpdyErrorCode error_code) {
+ SpdyRstStreamIR rst_ir(stream_id, error_code);
return SpdySerializedFrame(
headerless_spdy_framer_.SerializeRstStream(rst_ir));
}
« no previous file with comments | « net/spdy/spdy_test_util_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698