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 #include "net/tools/flip_server/balsa_headers_token_utils.h" | 5 #include "net/tools/balsa/balsa_headers_token_utils.h" |
6 #include "net/tools/flip_server/string_piece_utils.h" | 6 #include "net/tools/balsa/string_piece_utils.h" |
7 | 7 |
8 namespace net { | 8 namespace net { |
9 | 9 |
10 inline void BalsaHeadersTokenUtils::TokenizeHeaderLine( | 10 inline void BalsaHeadersTokenUtils::TokenizeHeaderLine( |
11 const BalsaHeaders& headers, | 11 const BalsaHeaders& headers, |
12 const BalsaHeaders::HeaderLineDescription& header_line, | 12 const BalsaHeaders::HeaderLineDescription& header_line, |
13 BalsaHeaders::HeaderTokenList* tokens) { | 13 BalsaHeaders::HeaderTokenList* tokens) { |
14 CHECK(tokens); | 14 CHECK(tokens); |
15 | 15 |
16 // Find where this line is stored | 16 // Find where this line is stored |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 return; | 134 return; |
135 } | 135 } |
136 } | 136 } |
137 tokens->push_back(base::StringPiece(nws, start - nws)); | 137 tokens->push_back(base::StringPiece(nws, start - nws)); |
138 } | 138 } |
139 } | 139 } |
140 | 140 |
141 } // namespace net | 141 } // namespace net |
142 | 142 |
OLD | NEW |