| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BALSA_BALSA_HEADERS_H_ | 5 #ifndef NET_TOOLS_BALSA_BALSA_HEADERS_H_ |
| 6 #define NET_TOOLS_BALSA_BALSA_HEADERS_H_ | 6 #define NET_TOOLS_BALSA_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/logging.h" |
| 16 #include "base/port.h" | |
| 17 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
| 18 #include "net/tools/balsa/balsa_enums.h" | 17 #include "net/tools/balsa/balsa_enums.h" |
| 19 #include "net/tools/balsa/string_piece_utils.h" | 18 #include "net/tools/balsa/string_piece_utils.h" |
| 20 | 19 |
| 21 namespace net { | 20 namespace net { |
| 22 | 21 |
| 23 // WARNING: | 22 // WARNING: |
| 24 // Note that -no- char* returned by any function in this | 23 // Note that -no- char* returned by any function in this |
| 25 // file is null-terminated. | 24 // file is null-terminated. |
| 26 | 25 |
| (...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 size_t end_of_firstline_idx_; | 1131 size_t end_of_firstline_idx_; |
| 1133 | 1132 |
| 1134 bool transfer_encoding_is_chunked_; | 1133 bool transfer_encoding_is_chunked_; |
| 1135 | 1134 |
| 1136 HeaderLines header_lines_; | 1135 HeaderLines header_lines_; |
| 1137 }; | 1136 }; |
| 1138 | 1137 |
| 1139 } // namespace net | 1138 } // namespace net |
| 1140 | 1139 |
| 1141 #endif // NET_TOOLS_BALSA_BALSA_HEADERS_H_ | 1140 #endif // NET_TOOLS_BALSA_BALSA_HEADERS_H_ |
| OLD | NEW |