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 #ifndef NET_SPDY_SPDY_SESSION_H_ | 5 #ifndef NET_SPDY_SPDY_SESSION_H_ |
6 #define NET_SPDY_SPDY_SESSION_H_ | 6 #define NET_SPDY_SPDY_SESSION_H_ |
7 | 7 |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // SpdyFramer::SpdyErrors | 52 // SpdyFramer::SpdyErrors |
53 SPDY_ERROR_NO_ERROR, | 53 SPDY_ERROR_NO_ERROR, |
54 SPDY_ERROR_INVALID_CONTROL_FRAME, | 54 SPDY_ERROR_INVALID_CONTROL_FRAME, |
55 SPDY_ERROR_CONTROL_PAYLOAD_TOO_LARGE, | 55 SPDY_ERROR_CONTROL_PAYLOAD_TOO_LARGE, |
56 SPDY_ERROR_ZLIB_INIT_FAILURE, | 56 SPDY_ERROR_ZLIB_INIT_FAILURE, |
57 SPDY_ERROR_UNSUPPORTED_VERSION, | 57 SPDY_ERROR_UNSUPPORTED_VERSION, |
58 SPDY_ERROR_DECOMPRESS_FAILURE, | 58 SPDY_ERROR_DECOMPRESS_FAILURE, |
59 SPDY_ERROR_COMPRESS_FAILURE, | 59 SPDY_ERROR_COMPRESS_FAILURE, |
60 SPDY_ERROR_CREDENTIAL_FRAME_CORRUPT, | 60 SPDY_ERROR_CREDENTIAL_FRAME_CORRUPT, |
61 SPDY_ERROR_INVALID_DATA_FRAME_FLAGS, | 61 SPDY_ERROR_INVALID_DATA_FRAME_FLAGS, |
| 62 SPDY_ERROR_INVALID_CONTROL_FRAME_FLAGS, |
62 | 63 |
63 // SpdyRstStreamStatus | 64 // SpdyRstStreamStatus |
64 STATUS_CODE_INVALID, | 65 STATUS_CODE_INVALID, |
65 STATUS_CODE_PROTOCOL_ERROR, | 66 STATUS_CODE_PROTOCOL_ERROR, |
66 STATUS_CODE_INVALID_STREAM, | 67 STATUS_CODE_INVALID_STREAM, |
67 STATUS_CODE_REFUSED_STREAM, | 68 STATUS_CODE_REFUSED_STREAM, |
68 STATUS_CODE_UNSUPPORTED_VERSION, | 69 STATUS_CODE_UNSUPPORTED_VERSION, |
69 STATUS_CODE_CANCEL, | 70 STATUS_CODE_CANCEL, |
70 STATUS_CODE_INTERNAL_ERROR, | 71 STATUS_CODE_INTERNAL_ERROR, |
71 STATUS_CODE_FLOW_CONTROL_ERROR, | 72 STATUS_CODE_FLOW_CONTROL_ERROR, |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 // This SPDY proxy is allowed to push resources from origins that are | 750 // This SPDY proxy is allowed to push resources from origins that are |
750 // different from those of their associated streams. | 751 // different from those of their associated streams. |
751 HostPortPair trusted_spdy_proxy_; | 752 HostPortPair trusted_spdy_proxy_; |
752 | 753 |
753 TimeFunc time_func_; | 754 TimeFunc time_func_; |
754 }; | 755 }; |
755 | 756 |
756 } // namespace net | 757 } // namespace net |
757 | 758 |
758 #endif // NET_SPDY_SPDY_SESSION_H_ | 759 #endif // NET_SPDY_SPDY_SESSION_H_ |
OLD | NEW |