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

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

Issue 23597045: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged QuicPriority to RequestPriority changes Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_connection_helper_test.cc ('k') | net/quic/quic_connection_logger.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) 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 #ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 5 #ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_
6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 6 #define NET_QUIC_QUIC_CONNECTION_LOGGER_H_
7 7
8 #include "net/quic/quic_connection.h" 8 #include "net/quic/quic_connection.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void OnVersionNegotiationPacket( 49 virtual void OnVersionNegotiationPacket(
50 const QuicVersionNegotiationPacket& packet) OVERRIDE; 50 const QuicVersionNegotiationPacket& packet) OVERRIDE;
51 virtual void OnRevivedPacket(const QuicPacketHeader& revived_header, 51 virtual void OnRevivedPacket(const QuicPacketHeader& revived_header,
52 base::StringPiece payload) OVERRIDE; 52 base::StringPiece payload) OVERRIDE;
53 53
54 void OnCryptoHandshakeMessageReceived( 54 void OnCryptoHandshakeMessageReceived(
55 const CryptoHandshakeMessage& message); 55 const CryptoHandshakeMessage& message);
56 void OnCryptoHandshakeMessageSent( 56 void OnCryptoHandshakeMessageSent(
57 const CryptoHandshakeMessage& message); 57 const CryptoHandshakeMessage& message);
58 void OnConnectionClose(QuicErrorCode error, bool from_peer); 58 void OnConnectionClose(QuicErrorCode error, bool from_peer);
59 void OnSuccessfulVersionNegotiation(const QuicVersion& version);
59 60
60 private: 61 private:
61 BoundNetLog net_log_; 62 BoundNetLog net_log_;
62 // The last packet sequence number received. 63 // The last packet sequence number received.
63 QuicPacketSequenceNumber last_received_packet_sequence_number_; 64 QuicPacketSequenceNumber last_received_packet_sequence_number_;
64 // The largest packet sequence number received. In case of that a packet is 65 // The largest packet sequence number received. In case of that a packet is
65 // received late, this value will not be updated. 66 // received late, this value will not be updated.
66 QuicPacketSequenceNumber largest_received_packet_sequence_number_; 67 QuicPacketSequenceNumber largest_received_packet_sequence_number_;
67 // The largest packet sequence number which the peer has failed to 68 // The largest packet sequence number which the peer has failed to
68 // receive, according to the missing packet set in their ack frames. 69 // receive, according to the missing packet set in their ack frames.
69 QuicPacketSequenceNumber largest_received_missing_packet_sequence_number_; 70 QuicPacketSequenceNumber largest_received_missing_packet_sequence_number_;
70 // Number of times that the current received packet sequence number is 71 // Number of times that the current received packet sequence number is
71 // smaller than the last received packet sequence number. 72 // smaller than the last received packet sequence number.
72 size_t out_of_order_recieved_packet_count_; 73 size_t out_of_order_recieved_packet_count_;
73 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 74 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
74 }; 75 };
75 76
76 } // namespace net 77 } // namespace net
77 78
78 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 79 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_helper_test.cc ('k') | net/quic/quic_connection_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698