| 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
| 12 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 13 #include "net/base/linked_hash_map.h" | 12 #include "net/base/linked_hash_map.h" |
| 14 #include "net/quic/quic_flags.h" | 13 #include "net/quic/quic_flags.h" |
| 15 #include "net/quic/spdy_utils.h" | 14 #include "net/quic/spdy_utils.h" |
| 16 #include "net/spdy/spdy_frame_builder.h" | 15 #include "net/spdy/spdy_frame_builder.h" |
| 17 #include "net/spdy/spdy_framer.h" | 16 #include "net/spdy/spdy_framer.h" |
| 18 #include "net/spdy/spdy_protocol.h" | 17 #include "net/spdy/spdy_protocol.h" |
| 19 #include "net/tools/balsa/balsa_headers.h" | 18 #include "net/tools/balsa/balsa_headers.h" |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 SpdyHeaderValidatorType::RESPONSE_HEADER); | 272 SpdyHeaderValidatorType::RESPONSE_HEADER); |
| 274 } | 273 } |
| 275 | 274 |
| 276 // static | 275 // static |
| 277 void SpdyBalsaUtils::SpdyHeadersToRequestHeaders(const SpdyHeaderBlock& block, | 276 void SpdyBalsaUtils::SpdyHeadersToRequestHeaders(const SpdyHeaderBlock& block, |
| 278 BalsaHeaders* headers) { | 277 BalsaHeaders* headers) { |
| 279 SpdyHeadersToBalsaHeaders(block, headers, SpdyHeaderValidatorType::REQUEST); | 278 SpdyHeadersToBalsaHeaders(block, headers, SpdyHeaderValidatorType::REQUEST); |
| 280 } | 279 } |
| 281 | 280 |
| 282 } // namespace net | 281 } // namespace net |
| OLD | NEW |