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

Side by Side Diff: net/spdy/core/spdy_bitmasks.h

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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/core/spdy_alt_svc_wire_format_test.cc ('k') | net/spdy/core/spdy_bug_tracker.h » ('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 #ifndef NET_SPDY_SPDY_BITMASKS_H_ 5 #ifndef NET_SPDY_SPDY_BITMASKS_H_
6 #define NET_SPDY_SPDY_BITMASKS_H_ 6 #define NET_SPDY_SPDY_BITMASKS_H_
7 7
8 namespace net { 8 namespace net {
9 9
10 // StreamId mask from the SpdyHeader 10 // StreamId mask from the SpdyHeader
11 const unsigned int kStreamIdMask = 0x7fffffff; 11 const unsigned int kStreamIdMask = 0x7fffffff;
12 12
13 // Control flag mask from the SpdyHeader 13 // Control flag mask from the SpdyHeader
14 const unsigned int kControlFlagMask = 0x8000; 14 const unsigned int kControlFlagMask = 0x8000;
15 15
16 // Mask the lower 24 bits. 16 // Mask the lower 24 bits.
17 const unsigned int kLengthMask = 0xffffff; 17 const unsigned int kLengthMask = 0xffffff;
18 18
19 // Legal flags on data packets. 19 // Legal flags on data packets.
20 const int kDataFlagsMask = 0x01; 20 const int kDataFlagsMask = 0x01;
21 21
22 // Legal flags on control packets. 22 // Legal flags on control packets.
23 const int kControlFlagsMask = 0x03; 23 const int kControlFlagsMask = 0x03;
24 24
25 } // namespace net 25 } // namespace net
26 26
27 #endif // NET_SPDY_SPDY_BITMASKS_H_ 27 #endif // NET_SPDY_SPDY_BITMASKS_H_
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_alt_svc_wire_format_test.cc ('k') | net/spdy/core/spdy_bug_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698