| OLD | NEW |
| 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 3 and HTTP 2 | 5 // This file contains some protocol structures for use with SPDY 3 and HTTP 2 |
| 6 // The SPDY 3 spec can be found at: | 6 // The SPDY 3 spec can be found at: |
| 7 // http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3 | 7 // http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3 |
| 8 | 8 |
| 9 #ifndef NET_SPDY_SPDY_PROTOCOL_H_ | 9 #ifndef NET_SPDY_SPDY_PROTOCOL_H_ |
| 10 #define NET_SPDY_SPDY_PROTOCOL_H_ | 10 #define NET_SPDY_SPDY_PROTOCOL_H_ |
| 11 | 11 |
| 12 #include <stddef.h> | 12 #include <stddef.h> |
| 13 #include <stdint.h> | 13 #include <stdint.h> |
| 14 | 14 |
| 15 #include <iosfwd> | 15 #include <iosfwd> |
| 16 #include <limits> | 16 #include <limits> |
| 17 #include <map> | 17 #include <map> |
| 18 #include <memory> | 18 #include <memory> |
| 19 #include <utility> | 19 #include <utility> |
| 20 | 20 |
| 21 #include "base/compiler_specific.h" | 21 #include "base/compiler_specific.h" |
| 22 #include "base/logging.h" | 22 #include "base/logging.h" |
| 23 #include "base/macros.h" | 23 #include "base/macros.h" |
| 24 #include "base/sys_byteorder.h" | 24 #include "base/sys_byteorder.h" |
| 25 #include "net/base/net_export.h" | 25 #include "net/base/net_export.h" |
| 26 #include "net/spdy/core/spdy_alt_svc_wire_format.h" |
| 27 #include "net/spdy/core/spdy_bitmasks.h" |
| 28 #include "net/spdy/core/spdy_bug_tracker.h" |
| 29 #include "net/spdy/core/spdy_header_block.h" |
| 26 #include "net/spdy/platform/api/spdy_string.h" | 30 #include "net/spdy/platform/api/spdy_string.h" |
| 27 #include "net/spdy/platform/api/spdy_string_piece.h" | 31 #include "net/spdy/platform/api/spdy_string_piece.h" |
| 28 #include "net/spdy/spdy_alt_svc_wire_format.h" | |
| 29 #include "net/spdy/spdy_bitmasks.h" | |
| 30 #include "net/spdy/spdy_bug_tracker.h" | |
| 31 #include "net/spdy/spdy_header_block.h" | |
| 32 | 32 |
| 33 namespace net { | 33 namespace net { |
| 34 | 34 |
| 35 // A stream id is a 31 bit entity. | 35 // A stream id is a 31 bit entity. |
| 36 typedef uint32_t SpdyStreamId; | 36 typedef uint32_t SpdyStreamId; |
| 37 | 37 |
| 38 // Specifies the stream ID used to denote the current session (for | 38 // Specifies the stream ID used to denote the current session (for |
| 39 // flow control). | 39 // flow control). |
| 40 const SpdyStreamId kSessionFlowControlStreamId = 0; | 40 const SpdyStreamId kSessionFlowControlStreamId = 0; |
| 41 | 41 |
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 SpdyFrameVisitor() {} | 917 SpdyFrameVisitor() {} |
| 918 virtual ~SpdyFrameVisitor() {} | 918 virtual ~SpdyFrameVisitor() {} |
| 919 | 919 |
| 920 private: | 920 private: |
| 921 DISALLOW_COPY_AND_ASSIGN(SpdyFrameVisitor); | 921 DISALLOW_COPY_AND_ASSIGN(SpdyFrameVisitor); |
| 922 }; | 922 }; |
| 923 | 923 |
| 924 } // namespace net | 924 } // namespace net |
| 925 | 925 |
| 926 #endif // NET_SPDY_SPDY_PROTOCOL_H_ | 926 #endif // NET_SPDY_SPDY_PROTOCOL_H_ |
| OLD | NEW |