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" |
| 11 #include "net/quic/crypto/crypto_protocol.h" |
10 #include "net/quic/quic_sent_packet_manager.h" | 12 #include "net/quic/quic_sent_packet_manager.h" |
| 13 #include "net/quic/quic_utils.h" |
11 | 14 |
12 using std::string; | 15 using std::string; |
13 | 16 |
14 namespace net { | 17 namespace net { |
15 | 18 |
16 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, Presence presence) | 19 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, Presence presence) |
17 : tag_(tag), | 20 : tag_(tag), |
18 presence_(presence), | 21 presence_(presence), |
19 negotiated_(false) { | 22 negotiated_(false) { |
20 } | 23 } |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 server_hello, error_details); | 407 server_hello, error_details); |
405 } | 408 } |
406 if (error == QUIC_NO_ERROR) { | 409 if (error == QUIC_NO_ERROR) { |
407 error = initial_round_trip_time_us_.ProcessServerHello( | 410 error = initial_round_trip_time_us_.ProcessServerHello( |
408 server_hello, error_details); | 411 server_hello, error_details); |
409 } | 412 } |
410 return error; | 413 return error; |
411 } | 414 } |
412 | 415 |
413 } // namespace net | 416 } // namespace net |
OLD | NEW |