summaryrefslogtreecommitdiffstats
path: root/net/flip/flip_bitmasks.h
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 00:55:08 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 00:55:08 +0000
commitaea80604eee7d26eeb7947bfc577acaed05ac7b1 (patch)
tree1cb39e900b18fdda06c8bf160e40a3236d38a83f /net/flip/flip_bitmasks.h
parentc69157c1419f70ed44d393ca0cd098e77166c5d0 (diff)
downloadchromium_src-aea80604eee7d26eeb7947bfc577acaed05ac7b1.zip
chromium_src-aea80604eee7d26eeb7947bfc577acaed05ac7b1.tar.gz
chromium_src-aea80604eee7d26eeb7947bfc577acaed05ac7b1.tar.bz2
Retry landing the flip changes. This time with DEPS!
BUG=none TEST=flip_session_unittest.cc flip_network_transaction_unittest.cc flip_framer_test.cc Review URL: http://codereview.chromium.org/210016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/flip/flip_bitmasks.h')
-rw-r--r--net/flip/flip_bitmasks.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/flip/flip_bitmasks.h b/net/flip/flip_bitmasks.h
new file mode 100644
index 0000000..8f139e0
--- /dev/null
+++ b/net/flip/flip_bitmasks.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_FLIP_FLIP_BITMASKS_H_
+#define NET_FLIP_FLIP_BITMASKS_H_
+
+namespace flip {
+
+const int kStreamIdMask = 0x7fffffff; // StreamId mask from the FlipHeader
+const int kControlFlagMask = 0x8000; // Control flag mask from the FlipHeader
+const int kPriorityMask = 0xc0; // Priority mask from the SYN_FRAME
+} // flip
+
+#endif // NET_FLIP_FLIP_BITMASKS_H_
+