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 #include "net/tools/quic/spdy_utils.h" | 5 #include "net/tools/quic/spdy_utils.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/string_piece.h" | |
11 #include "base/string_util.h" | 10 #include "base/string_util.h" |
12 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/strings/string_piece.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "net/spdy/spdy_frame_builder.h" | 14 #include "net/spdy/spdy_frame_builder.h" |
15 #include "net/spdy/spdy_framer.h" | 15 #include "net/spdy/spdy_framer.h" |
16 #include "net/spdy/spdy_protocol.h" | 16 #include "net/spdy/spdy_protocol.h" |
17 #include "net/tools/flip_server/balsa_headers.h" | 17 #include "net/tools/flip_server/balsa_headers.h" |
18 | 18 |
19 using base::StringPiece; | 19 using base::StringPiece; |
20 using std::pair; | 20 using std::pair; |
21 using std::string; | 21 using std::string; |
22 | 22 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 for (BlockIt it = header_block.begin(); it != header_block.end(); ++it) { | 242 for (BlockIt it = header_block.begin(); it != header_block.end(); ++it) { |
243 if (!IsSpecialSpdyHeader(it, request_headers)) { | 243 if (!IsSpecialSpdyHeader(it, request_headers)) { |
244 request_headers->AppendHeader(it->first, it->second); | 244 request_headers->AppendHeader(it->first, it->second); |
245 } | 245 } |
246 } | 246 } |
247 return true; | 247 return true; |
248 } | 248 } |
249 | 249 |
250 } // namespace tools | 250 } // namespace tools |
251 } // namespace net | 251 } // namespace net |
OLD | NEW |