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

Side by Side Diff: net/spdy/spdy_protocol.h

Issue 483843004: HTTP2 draft 13: support unknown frame types and settings types as extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge_1
Patch Set: Add mock OnUnknownFrame to SpdyFramerVisitor in spdy_interface_test. Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | net/spdy/spdy_protocol.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains some protocol structures for use with SPDY 2 and 3 5 // This file contains some protocol structures for use with SPDY 2 and 3
6 // The SPDY 2 spec can be found at: 6 // The SPDY 2 spec can be found at:
7 // http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft2 7 // http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft2
8 // The SPDY 3 spec can be found at: 8 // The SPDY 3 spec can be found at:
9 // http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3 9 // http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3
10 10
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 DATA, 278 DATA,
279 SYN_STREAM, 279 SYN_STREAM,
280 SYN_REPLY, 280 SYN_REPLY,
281 RST_STREAM, 281 RST_STREAM,
282 SETTINGS, 282 SETTINGS,
283 PING, 283 PING,
284 GOAWAY, 284 GOAWAY,
285 HEADERS, 285 HEADERS,
286 WINDOW_UPDATE, 286 WINDOW_UPDATE,
287 CREDENTIAL = 10, // No longer valid. Kept for identifiability. 287 CREDENTIAL = 10, // No longer valid. Kept for identifiability.
288 BLOCKED,
289 PUSH_PROMISE, 288 PUSH_PROMISE,
290 CONTINUATION, 289 CONTINUATION,
290 PRIORITY,
291 // BLOCKED and ALTSVC are recognized extensions.
292 BLOCKED,
291 ALTSVC, 293 ALTSVC,
292 PRIORITY
293 }; 294 };
294 295
295 // Flags on data packets. 296 // Flags on data packets.
296 enum SpdyDataFlags { 297 enum SpdyDataFlags {
297 DATA_FLAG_NONE = 0x00, 298 DATA_FLAG_NONE = 0x00,
298 DATA_FLAG_FIN = 0x01, 299 DATA_FLAG_FIN = 0x01,
299 DATA_FLAG_END_SEGMENT = 0x02, 300 DATA_FLAG_END_SEGMENT = 0x02,
300 DATA_FLAG_PADDED = 0x08, 301 DATA_FLAG_PADDED = 0x08,
301 DATA_FLAG_COMPRESSED = 0x20, 302 DATA_FLAG_COMPRESSED = 0x20,
302 }; 303 };
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 SpdyFrameVisitor() {} 1045 SpdyFrameVisitor() {}
1045 virtual ~SpdyFrameVisitor() {} 1046 virtual ~SpdyFrameVisitor() {}
1046 1047
1047 private: 1048 private:
1048 DISALLOW_COPY_AND_ASSIGN(SpdyFrameVisitor); 1049 DISALLOW_COPY_AND_ASSIGN(SpdyFrameVisitor);
1049 }; 1050 };
1050 1051
1051 } // namespace net 1052 } // namespace net
1052 1053
1053 #endif // NET_SPDY_SPDY_PROTOCOL_H_ 1054 #endif // NET_SPDY_SPDY_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | net/spdy/spdy_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698