Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: net/quic/quic_crypto_server_stream.cc

Issue 798873005: Remove unused original transmission stats from QuicAckNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@removing_quic_version_21_83551025
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_crypto_server_stream.h ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_protocol.h" 14 #include "net/quic/quic_protocol.h"
15 #include "net/quic/quic_session.h" 15 #include "net/quic/quic_session.h"
16 16
17 using std::string; 17 using std::string;
18 18
19 namespace net { 19 namespace net {
20 20
21 void ServerHelloNotifier::OnAckNotification( 21 void ServerHelloNotifier::OnAckNotification(
22 int num_original_packets,
23 int num_original_bytes,
24 int num_retransmitted_packets, 22 int num_retransmitted_packets,
25 int num_retransmitted_bytes, 23 int num_retransmitted_bytes,
26 QuicTime::Delta delta_largest_observed) { 24 QuicTime::Delta delta_largest_observed) {
27 server_stream_->OnServerHelloAcked(); 25 server_stream_->OnServerHelloAcked();
28 } 26 }
29 27
30 QuicCryptoServerStream::QuicCryptoServerStream( 28 QuicCryptoServerStream::QuicCryptoServerStream(
31 const QuicCryptoServerConfig& crypto_config, 29 const QuicCryptoServerConfig& crypto_config,
32 QuicSession* session) 30 QuicSession* session)
33 : QuicCryptoStream(session), 31 : QuicCryptoStream(session),
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 250
253 void QuicCryptoServerStream::ValidateCallback::RunImpl( 251 void QuicCryptoServerStream::ValidateCallback::RunImpl(
254 const CryptoHandshakeMessage& client_hello, 252 const CryptoHandshakeMessage& client_hello,
255 const Result& result) { 253 const Result& result) {
256 if (parent_ != nullptr) { 254 if (parent_ != nullptr) {
257 parent_->FinishProcessingHandshakeMessage(client_hello, result); 255 parent_->FinishProcessingHandshakeMessage(client_hello, result);
258 } 256 }
259 } 257 }
260 258
261 } // namespace net 259 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_server_stream.h ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698