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_balsa_utils.h" | 5 #include "net/tools/quic/spdy_balsa_utils.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/string_piece.h" | 11 #include "base/strings/string_piece.h" |
12 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "net/base/linked_hash_map.h" | 14 #include "net/base/linked_hash_map.h" |
15 #include "net/quic/quic_flags.h" | 15 #include "net/quic/core/quic_flags.h" |
16 #include "net/quic/spdy_utils.h" | 16 #include "net/quic/core/spdy_utils.h" |
17 #include "net/spdy/spdy_frame_builder.h" | 17 #include "net/spdy/spdy_frame_builder.h" |
18 #include "net/spdy/spdy_framer.h" | 18 #include "net/spdy/spdy_framer.h" |
19 #include "net/spdy/spdy_protocol.h" | 19 #include "net/spdy/spdy_protocol.h" |
20 #include "net/tools/balsa/balsa_headers.h" | 20 #include "net/tools/balsa/balsa_headers.h" |
21 #include "url/gurl.h" | 21 #include "url/gurl.h" |
22 | 22 |
23 using base::StringPiece; | 23 using base::StringPiece; |
24 using base::StringPieceHash; | 24 using base::StringPieceHash; |
25 using std::make_pair; | 25 using std::make_pair; |
26 using std::pair; | 26 using std::pair; |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 SpdyHeadersToBalsaHeaders(block, headers, true); | 295 SpdyHeadersToBalsaHeaders(block, headers, true); |
296 } | 296 } |
297 | 297 |
298 // static | 298 // static |
299 void SpdyBalsaUtils::SpdyHeadersToRequestHeaders(const SpdyHeaderBlock& block, | 299 void SpdyBalsaUtils::SpdyHeadersToRequestHeaders(const SpdyHeaderBlock& block, |
300 BalsaHeaders* headers) { | 300 BalsaHeaders* headers) { |
301 SpdyHeadersToBalsaHeaders(block, headers, false); | 301 SpdyHeadersToBalsaHeaders(block, headers, false); |
302 } | 302 } |
303 | 303 |
304 } // namespace net | 304 } // namespace net |
OLD | NEW |