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_HEADERS_H_ | 5 #ifndef NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_H_ |
6 #define NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_H_ | 6 #define NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_H_ |
7 | 7 |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <iterator> | 10 #include <iterator> |
11 #include <string> | 11 #include <string> |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
| 15 #include "base/logging.h" |
15 #include "base/port.h" | 16 #include "base/port.h" |
16 #include "base/logging.h" | 17 #include "base/strings/string_piece.h" |
17 #include "base/string_piece.h" | |
18 #include "net/tools/flip_server/balsa_enums.h" | 18 #include "net/tools/flip_server/balsa_enums.h" |
19 #include "net/tools/flip_server/string_piece_utils.h" | 19 #include "net/tools/flip_server/string_piece_utils.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 // WARNING: | 23 // WARNING: |
24 // Note that -no- char* returned by any function in this | 24 // Note that -no- char* returned by any function in this |
25 // file is null-terminated. | 25 // file is null-terminated. |
26 | 26 |
27 // This class exists to service the specific needs of BalsaHeaders. | 27 // This class exists to service the specific needs of BalsaHeaders. |
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1128 size_t end_of_firstline_idx_; | 1128 size_t end_of_firstline_idx_; |
1129 | 1129 |
1130 bool transfer_encoding_is_chunked_; | 1130 bool transfer_encoding_is_chunked_; |
1131 | 1131 |
1132 HeaderLines header_lines_; | 1132 HeaderLines header_lines_; |
1133 }; | 1133 }; |
1134 | 1134 |
1135 } // namespace net | 1135 } // namespace net |
1136 | 1136 |
1137 #endif // NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_H_ | 1137 #endif // NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_H_ |
OLD | NEW |