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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // SpdyFramer::SpdyErrors | 56 // SpdyFramer::SpdyErrors |
57 SPDY_ERROR_NO_ERROR, | 57 SPDY_ERROR_NO_ERROR, |
58 SPDY_ERROR_INVALID_CONTROL_FRAME, | 58 SPDY_ERROR_INVALID_CONTROL_FRAME, |
59 SPDY_ERROR_CONTROL_PAYLOAD_TOO_LARGE, | 59 SPDY_ERROR_CONTROL_PAYLOAD_TOO_LARGE, |
60 SPDY_ERROR_ZLIB_INIT_FAILURE, | 60 SPDY_ERROR_ZLIB_INIT_FAILURE, |
61 SPDY_ERROR_UNSUPPORTED_VERSION, | 61 SPDY_ERROR_UNSUPPORTED_VERSION, |
62 SPDY_ERROR_DECOMPRESS_FAILURE, | 62 SPDY_ERROR_DECOMPRESS_FAILURE, |
63 SPDY_ERROR_COMPRESS_FAILURE, | 63 SPDY_ERROR_COMPRESS_FAILURE, |
64 SPDY_ERROR_CREDENTIAL_FRAME_CORRUPT, | 64 SPDY_ERROR_CREDENTIAL_FRAME_CORRUPT, |
65 SPDY_ERROR_INVALID_DATA_FRAME_FLAGS, | 65 SPDY_ERROR_INVALID_DATA_FRAME_FLAGS, |
| 66 SPDY_ERROR_INVALID_CONTROL_FRAME_FLAGS, |
66 | 67 |
67 // SpdyRstStreamStatus | 68 // SpdyRstStreamStatus |
68 STATUS_CODE_INVALID, | 69 STATUS_CODE_INVALID, |
69 STATUS_CODE_PROTOCOL_ERROR, | 70 STATUS_CODE_PROTOCOL_ERROR, |
70 STATUS_CODE_INVALID_STREAM, | 71 STATUS_CODE_INVALID_STREAM, |
71 STATUS_CODE_REFUSED_STREAM, | 72 STATUS_CODE_REFUSED_STREAM, |
72 STATUS_CODE_UNSUPPORTED_VERSION, | 73 STATUS_CODE_UNSUPPORTED_VERSION, |
73 STATUS_CODE_CANCEL, | 74 STATUS_CODE_CANCEL, |
74 STATUS_CODE_INTERNAL_ERROR, | 75 STATUS_CODE_INTERNAL_ERROR, |
75 STATUS_CODE_FLOW_CONTROL_ERROR, | 76 STATUS_CODE_FLOW_CONTROL_ERROR, |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 // This SPDY proxy is allowed to push resources from origins that are | 773 // This SPDY proxy is allowed to push resources from origins that are |
773 // different from those of their associated streams. | 774 // different from those of their associated streams. |
774 HostPortPair trusted_spdy_proxy_; | 775 HostPortPair trusted_spdy_proxy_; |
775 | 776 |
776 TimeFunc time_func_; | 777 TimeFunc time_func_; |
777 }; | 778 }; |
778 | 779 |
779 } // namespace net | 780 } // namespace net |
780 | 781 |
781 #endif // NET_SPDY_SPDY_SESSION_H_ | 782 #endif // NET_SPDY_SPDY_SESSION_H_ |
OLD | NEW |