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/quic_config.h" | 5 #include "net/quic/quic_config.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "net/quic/crypto/crypto_handshake_message.h" | 10 #include "net/quic/crypto/crypto_handshake_message.h" |
11 #include "net/quic/crypto/crypto_protocol.h" | 11 #include "net/quic/crypto/crypto_protocol.h" |
12 #include "net/quic/quic_flags.h" | 12 #include "net/quic/quic_flags.h" |
13 #include "net/quic/quic_sent_packet_manager.h" | |
14 #include "net/quic/quic_utils.h" | 13 #include "net/quic/quic_utils.h" |
15 | 14 |
16 using std::min; | 15 using std::min; |
17 using std::string; | 16 using std::string; |
18 | 17 |
19 namespace net { | 18 namespace net { |
20 | 19 |
21 // Reads the value corresponding to |name_| from |msg| into |out|. If the | 20 // Reads the value corresponding to |name_| from |msg| into |out|. If the |
22 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set | 21 // |name_| is absent in |msg| and |presence| is set to OPTIONAL |out| is set |
23 // to |default_value|. | 22 // to |default_value|. |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 peer_hello, hello_type, error_details); | 736 peer_hello, hello_type, error_details); |
738 } | 737 } |
739 if (error == QUIC_NO_ERROR) { | 738 if (error == QUIC_NO_ERROR) { |
740 error = connection_options_.ProcessPeerHello( | 739 error = connection_options_.ProcessPeerHello( |
741 peer_hello, hello_type, error_details); | 740 peer_hello, hello_type, error_details); |
742 } | 741 } |
743 return error; | 742 return error; |
744 } | 743 } |
745 | 744 |
746 } // namespace net | 745 } // namespace net |
OLD | NEW |