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/core/quic_config.h" | 5 #include "net/quic/core/quic_config.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "net/quic/core/crypto/crypto_handshake_message.h" | 9 #include "net/quic/core/crypto/crypto_handshake_message.h" |
10 #include "net/quic/core/crypto/crypto_protocol.h" | 10 #include "net/quic/core/crypto/crypto_protocol.h" |
11 #include "net/quic/core/quic_flags.h" | |
12 #include "net/quic/core/quic_socket_address_coder.h" | 11 #include "net/quic/core/quic_socket_address_coder.h" |
13 #include "net/quic/core/quic_utils.h" | 12 #include "net/quic/core/quic_utils.h" |
14 #include "net/quic/platform/api/quic_bug_tracker.h" | 13 #include "net/quic/platform/api/quic_bug_tracker.h" |
15 #include "net/quic/platform/api/quic_flag_utils.h" | 14 #include "net/quic/platform/api/quic_flag_utils.h" |
| 15 #include "net/quic/platform/api/quic_flags.h" |
16 #include "net/quic/platform/api/quic_logging.h" | 16 #include "net/quic/platform/api/quic_logging.h" |
17 #include "net/quic/platform/api/quic_string_piece.h" | 17 #include "net/quic/platform/api/quic_string_piece.h" |
18 | 18 |
19 using std::string; | 19 using std::string; |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 // Reads the value corresponding to |name_| from |msg| into |out|. If the | 23 // Reads the value corresponding to |name_| from |msg| into |out|. If the |
24 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set | 24 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set |
25 // to |default_value|. | 25 // to |default_value|. |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 error_details); | 683 error_details); |
684 } | 684 } |
685 if (error == QUIC_NO_ERROR) { | 685 if (error == QUIC_NO_ERROR) { |
686 error = support_max_header_list_size_.ProcessPeerHello( | 686 error = support_max_header_list_size_.ProcessPeerHello( |
687 peer_hello, hello_type, error_details); | 687 peer_hello, hello_type, error_details); |
688 } | 688 } |
689 return error; | 689 return error; |
690 } | 690 } |
691 | 691 |
692 } // namespace net | 692 } // namespace net |
OLD | NEW |