OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "net/quic/crypto/crypto_handshake_message.h" | 5 #include "net/quic/core/crypto/crypto_handshake_message.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
11 #include "net/quic/crypto/crypto_framer.h" | 11 #include "net/quic/core/crypto/crypto_framer.h" |
12 #include "net/quic/crypto/crypto_protocol.h" | 12 #include "net/quic/core/crypto/crypto_protocol.h" |
13 #include "net/quic/crypto/crypto_utils.h" | 13 #include "net/quic/core/crypto/crypto_utils.h" |
14 #include "net/quic/quic_socket_address_coder.h" | 14 #include "net/quic/core/quic_socket_address_coder.h" |
15 #include "net/quic/quic_utils.h" | 15 #include "net/quic/core/quic_utils.h" |
16 | 16 |
17 using base::StringPiece; | 17 using base::StringPiece; |
18 using base::StringPrintf; | 18 using base::StringPrintf; |
19 using std::string; | 19 using std::string; |
20 using std::vector; | 20 using std::vector; |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 CryptoHandshakeMessage::CryptoHandshakeMessage() : tag_(0), minimum_size_(0) {} | 24 CryptoHandshakeMessage::CryptoHandshakeMessage() : tag_(0), minimum_size_(0) {} |
25 | 25 |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 ret += "0x" + QuicUtils::HexEncode(it->second); | 314 ret += "0x" + QuicUtils::HexEncode(it->second); |
315 } | 315 } |
316 ret += "\n"; | 316 ret += "\n"; |
317 } | 317 } |
318 --indent; | 318 --indent; |
319 ret += string(2 * indent, ' ') + ">"; | 319 ret += string(2 * indent, ' ') + ">"; |
320 return ret; | 320 return ret; |
321 } | 321 } |
322 | 322 |
323 } // namespace net | 323 } // namespace net |
OLD | NEW |