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

Unified Diff: net/spdy/spdy_test_util_common.h

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_stream_unittest.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_util_common.h
diff --git a/net/spdy/spdy_test_util_common.h b/net/spdy/spdy_test_util_common.h
index 16c37ce0ad7cac7c67d4e1c320dc0e5559a95d83..d0c30643e25dbdb4ab67cebc30f7bb1a7b232e65 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -131,7 +131,7 @@ struct SpdyHeaderInfo {
SpdyPriority priority;
int weight;
SpdyControlFlags control_flags;
- SpdyRstStreamStatus status;
+ SpdyErrorCode error_code;
const char* data;
uint32_t data_length;
SpdyDataFlags data_flags;
@@ -326,7 +326,7 @@ class SpdyTestUtil {
// status, and description. Returns the constructed frame. The caller takes
// ownership of the frame.
SpdySerializedFrame ConstructSpdyGoAway(SpdyStreamId last_good_stream_id,
- SpdyGoAwayStatus status,
+ SpdyErrorCode error_code,
const std::string& desc);
// Construct a SPDY WINDOW_UPDATE frame.
@@ -337,7 +337,7 @@ class SpdyTestUtil {
// Construct a SPDY RST_STREAM frame.
// Returns the constructed frame. The caller takes ownership of the frame.
SpdySerializedFrame ConstructSpdyRstStream(SpdyStreamId stream_id,
- SpdyRstStreamStatus status);
+ SpdyErrorCode error_code);
// Construct a PRIORITY frame. The weight is derived from |request_priority|.
// Returns the constructed frame. The caller takes ownership of the frame.
« no previous file with comments | « net/spdy/spdy_stream_unittest.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698