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

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

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_connection_test.cc ('k') | net/quic/quic_crypto_server_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 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 6 #define NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/quic/crypto/crypto_handshake.h" 10 #include "net/quic/crypto/crypto_handshake.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // Receives a notification when the server hello (SHLO) has been ACKed by the 28 // Receives a notification when the server hello (SHLO) has been ACKed by the
29 // peer. At this point we disable HANDSHAKE_MODE in the sent packet manager. 29 // peer. At this point we disable HANDSHAKE_MODE in the sent packet manager.
30 class NET_EXPORT_PRIVATE ServerHelloNotifier : public 30 class NET_EXPORT_PRIVATE ServerHelloNotifier : public
31 QuicAckNotifier::DelegateInterface { 31 QuicAckNotifier::DelegateInterface {
32 public: 32 public:
33 explicit ServerHelloNotifier(QuicCryptoServerStream* stream) 33 explicit ServerHelloNotifier(QuicCryptoServerStream* stream)
34 : server_stream_(stream) {} 34 : server_stream_(stream) {}
35 35
36 // QuicAckNotifier::DelegateInterface implementation 36 // QuicAckNotifier::DelegateInterface implementation
37 void OnAckNotification(int num_original_packets, 37 void OnAckNotification(int num_retransmitted_packets,
38 int num_original_bytes,
39 int num_retransmitted_packets,
40 int num_retransmitted_bytes, 38 int num_retransmitted_bytes,
41 QuicTime::Delta delta_largest_observed) override; 39 QuicTime::Delta delta_largest_observed) override;
42 40
43 private: 41 private:
44 ~ServerHelloNotifier() override {} 42 ~ServerHelloNotifier() override {}
45 43
46 QuicCryptoServerStream* server_stream_; 44 QuicCryptoServerStream* server_stream_;
47 45
48 DISALLOW_COPY_AND_ASSIGN(ServerHelloNotifier); 46 DISALLOW_COPY_AND_ASSIGN(ServerHelloNotifier);
49 }; 47 };
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 142
145 // Contains any source address tokens which were present in the CHLO. 143 // Contains any source address tokens which were present in the CHLO.
146 SourceAddressTokens previous_source_address_tokens_; 144 SourceAddressTokens previous_source_address_tokens_;
147 145
148 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream); 146 DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerStream);
149 }; 147 };
150 148
151 } // namespace net 149 } // namespace net
152 150
153 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_ 151 #endif // NET_QUIC_QUIC_CRYPTO_SERVER_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_crypto_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698