| 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/quic/quic_crypto_server_stream.h" | 5 #include "net/quic/quic_crypto_server_stream.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "crypto/secure_hash.h" | 8 #include "crypto/secure_hash.h" |
| 9 #include "net/quic/crypto/cached_network_parameters.h" | 9 #include "net/quic/crypto/cached_network_parameters.h" |
| 10 #include "net/quic/crypto/crypto_protocol.h" | 10 #include "net/quic/crypto/crypto_protocol.h" |
| 11 #include "net/quic/crypto/crypto_utils.h" | 11 #include "net/quic/crypto/crypto_utils.h" |
| 12 #include "net/quic/crypto/quic_crypto_server_config.h" | 12 #include "net/quic/crypto/quic_crypto_server_config.h" |
| 13 #include "net/quic/quic_config.h" | 13 #include "net/quic/quic_config.h" |
| 14 #include "net/quic/quic_flags.h" | 14 #include "net/quic/quic_flags.h" |
| 15 #include "net/quic/quic_protocol.h" | 15 #include "net/quic/quic_protocol.h" |
| 16 #include "net/quic/quic_session.h" | 16 #include "net/quic/quic_session.h" |
| 17 | 17 |
| 18 using std::string; |
| 19 |
| 18 namespace net { | 20 namespace net { |
| 19 | 21 |
| 20 void ServerHelloNotifier::OnAckNotification( | 22 void ServerHelloNotifier::OnAckNotification( |
| 21 int num_original_packets, | 23 int num_original_packets, |
| 22 int num_original_bytes, | 24 int num_original_bytes, |
| 23 int num_retransmitted_packets, | 25 int num_retransmitted_packets, |
| 24 int num_retransmitted_bytes, | 26 int num_retransmitted_bytes, |
| 25 QuicTime::Delta delta_largest_observed) { | 27 QuicTime::Delta delta_largest_observed) { |
| 26 server_stream_->OnServerHelloAcked(); | 28 server_stream_->OnServerHelloAcked(); |
| 27 } | 29 } |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 260 |
| 259 void QuicCryptoServerStream::ValidateCallback::RunImpl( | 261 void QuicCryptoServerStream::ValidateCallback::RunImpl( |
| 260 const CryptoHandshakeMessage& client_hello, | 262 const CryptoHandshakeMessage& client_hello, |
| 261 const Result& result) { | 263 const Result& result) { |
| 262 if (parent_ != nullptr) { | 264 if (parent_ != nullptr) { |
| 263 parent_->FinishProcessingHandshakeMessage(client_hello, result); | 265 parent_->FinishProcessingHandshakeMessage(client_hello, result); |
| 264 } | 266 } |
| 265 } | 267 } |
| 266 | 268 |
| 267 } // namespace net | 269 } // namespace net |
| OLD | NEW |