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

Unified Diff: net/spdy/spdy_protocol.h

Issue 2619493005: Harmonize SpdyFrameType enum values with wire values. (Closed)
Patch Set: Rebase. 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 | « no previous file | net/spdy/spdy_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_protocol.h
diff --git a/net/spdy/spdy_protocol.h b/net/spdy/spdy_protocol.h
index 62b08b803e1e4f085bebba6aa3aa96d6dc6ad287..c5ab56465b1d5438e14bd7e1c145deb20a8e880f 100644
--- a/net/spdy/spdy_protocol.h
+++ b/net/spdy/spdy_protocol.h
@@ -74,19 +74,21 @@ const int kHttp2ConnectionHeaderPrefixSize =
// Types of HTTP2 frames.
enum SpdyFrameType {
- DATA,
- RST_STREAM,
- SETTINGS,
- PING,
- GOAWAY,
- HEADERS,
- WINDOW_UPDATE,
- PUSH_PROMISE,
- CONTINUATION,
- PRIORITY,
- // BLOCKED and ALTSVC are recognized extensions.
- BLOCKED,
- ALTSVC,
+ DATA = 0x00,
+ MIN_FRAME_TYPE = DATA,
+ HEADERS = 0x01,
+ PRIORITY = 0x02,
+ RST_STREAM = 0x03,
+ SETTINGS = 0x04,
+ PUSH_PROMISE = 0x05,
+ PING = 0x06,
+ GOAWAY = 0x07,
+ WINDOW_UPDATE = 0x08,
+ CONTINUATION = 0x09,
+ // ALTSVC and BLOCKED are recognized extensions.
+ ALTSVC = 0x0a,
+ BLOCKED = 0x0b,
+ MAX_FRAME_TYPE = BLOCKED
};
// Flags on data packets.
« no previous file with comments | « no previous file | net/spdy/spdy_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698