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

Unified Diff: net/spdy/spdy_session_unittest.cc

Issue 2669263002: Add missing case in MapFramerErrorToNetError (SpdyFramer::SPDY_OVERSIZED_PAYLOAD) (Closed)
Patch Set: 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
« net/spdy/spdy_session.cc ('K') | « net/spdy/spdy_session.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_unittest.cc
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc
index da5e6389278416e58ec69c0460aac70a89cf13c2..bed547cc659e8de07458504ca0ed31f5fd91ba3f 100644
--- a/net/spdy/spdy_session_unittest.cc
+++ b/net/spdy/spdy_session_unittest.cc
@@ -5792,6 +5792,8 @@ TEST(MapFramerErrorToNetError, MapsValue) {
CHECK_EQ(
ERR_SPDY_FRAME_SIZE_ERROR,
MapFramerErrorToNetError(SpdyFramer::SPDY_CONTROL_PAYLOAD_TOO_LARGE));
+ CHECK_EQ(ERR_SPDY_FRAME_SIZE_ERROR,
+ MapFramerErrorToNetError(SpdyFramer::SPDY_OVERSIZED_PAYLOAD));
}
TEST(MapRstStreamStatusToProtocolError, MapsValues) {
« net/spdy/spdy_session.cc ('K') | « net/spdy/spdy_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698