| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_TOOLS_FLIP_SERVER_BALSA_ENUMS_H_ | 5 #ifndef NET_TOOLS_BALSA_BALSA_ENUMS_H_ |
| 6 #define NET_TOOLS_FLIP_SERVER_BALSA_ENUMS_H_ | 6 #define NET_TOOLS_BALSA_BALSA_ENUMS_H_ |
| 7 | 7 |
| 8 namespace net { | 8 namespace net { |
| 9 | 9 |
| 10 struct BalsaFrameEnums { | 10 struct BalsaFrameEnums { |
| 11 enum ParseState { | 11 enum ParseState { |
| 12 PARSE_ERROR, | 12 PARSE_ERROR, |
| 13 READING_HEADER_AND_FIRSTLINE, | 13 READING_HEADER_AND_FIRSTLINE, |
| 14 READING_CHUNK_LENGTH, | 14 READING_CHUNK_LENGTH, |
| 15 READING_CHUNK_EXTENSION, | 15 READING_CHUNK_EXTENSION, |
| 16 READING_CHUNK_DATA, | 16 READING_CHUNK_DATA, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 enum ContentLengthStatus { | 100 enum ContentLengthStatus { |
| 101 INVALID_CONTENT_LENGTH, | 101 INVALID_CONTENT_LENGTH, |
| 102 CONTENT_LENGTH_OVERFLOW, | 102 CONTENT_LENGTH_OVERFLOW, |
| 103 NO_CONTENT_LENGTH, | 103 NO_CONTENT_LENGTH, |
| 104 VALID_CONTENT_LENGTH, | 104 VALID_CONTENT_LENGTH, |
| 105 }; | 105 }; |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace net | 108 } // namespace net |
| 109 | 109 |
| 110 #endif // NET_TOOLS_FLIP_SERVER_BALSA_ENUMS_H_ | 110 #endif // NET_TOOLS_BALSA_BALSA_ENUMS_H_ |
| 111 | 111 |
| OLD | NEW |