Index: net/spdy/spdy_session.h |
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
index af2ff0cd29f30c328afd64a36c2d44e6396ec47c..798614a34acab53e3c493f83b8556c8dbea4bad2 100644 |
--- a/net/spdy/spdy_session.h |
+++ b/net/spdy/spdy_session.h |
@@ -129,6 +129,7 @@ enum SpdyProtocolErrorDetails { |
STATUS_CODE_ENHANCE_YOUR_CALM = 34, |
STATUS_CODE_INADEQUATE_SECURITY = 35, |
STATUS_CODE_HTTP_1_1_REQUIRED = 36, |
+ STATUS_CODE_NO_ERROR = 41, |
// SpdySession errors |
PROTOCOL_ERROR_UNEXPECTED_PING = 22, |
@@ -140,7 +141,7 @@ enum SpdyProtocolErrorDetails { |
PROTOCOL_ERROR_RECEIVE_WINDOW_VIOLATION = 28, |
// Next free value. |
- NUM_SPDY_PROTOCOL_ERROR_DETAILS = 41, |
+ NUM_SPDY_PROTOCOL_ERROR_DETAILS = 42, |
}; |
SpdyProtocolErrorDetails NET_EXPORT_PRIVATE |
MapFramerErrorToProtocolError(SpdyFramer::SpdyError error); |
@@ -153,7 +154,7 @@ SpdyGoAwayStatus NET_EXPORT_PRIVATE MapNetErrorToGoAwayStatus(Error err); |
// to be updated with new values, as do the mapping functions above. |
static_assert(17 == SpdyFramer::LAST_ERROR, |
"SpdyProtocolErrorDetails / Spdy Errors mismatch"); |
-static_assert(17 == RST_STREAM_NUM_STATUS_CODES, |
+static_assert(18 == RST_STREAM_NUM_STATUS_CODES, |
"SpdyProtocolErrorDetails / RstStreamStatus mismatch"); |
// A helper class used to manage a request to create a stream. |