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

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

Issue 523813003: Revert of Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_test.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 <bitset> 8 #include <bitset>
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void OnBlockedFrame(const QuicBlockedFrame& frame) OVERRIDE; 61 virtual void OnBlockedFrame(const QuicBlockedFrame& frame) OVERRIDE;
62 virtual void OnGoAwayFrame(const QuicGoAwayFrame& frame) OVERRIDE; 62 virtual void OnGoAwayFrame(const QuicGoAwayFrame& frame) OVERRIDE;
63 virtual void OnPingFrame(const QuicPingFrame& frame) OVERRIDE; 63 virtual void OnPingFrame(const QuicPingFrame& frame) OVERRIDE;
64 virtual void OnPublicResetPacket( 64 virtual void OnPublicResetPacket(
65 const QuicPublicResetPacket& packet) OVERRIDE; 65 const QuicPublicResetPacket& packet) OVERRIDE;
66 virtual void OnVersionNegotiationPacket( 66 virtual void OnVersionNegotiationPacket(
67 const QuicVersionNegotiationPacket& packet) OVERRIDE; 67 const QuicVersionNegotiationPacket& packet) OVERRIDE;
68 virtual void OnRevivedPacket(const QuicPacketHeader& revived_header, 68 virtual void OnRevivedPacket(const QuicPacketHeader& revived_header,
69 base::StringPiece payload) OVERRIDE; 69 base::StringPiece payload) OVERRIDE;
70 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE; 70 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE;
71 virtual void OnSuccessfulVersionNegotiation(
72 const QuicVersion& version) OVERRIDE;
73 71
74 void OnCryptoHandshakeMessageReceived( 72 void OnCryptoHandshakeMessageReceived(
75 const CryptoHandshakeMessage& message); 73 const CryptoHandshakeMessage& message);
76 void OnCryptoHandshakeMessageSent( 74 void OnCryptoHandshakeMessageSent(
77 const CryptoHandshakeMessage& message); 75 const CryptoHandshakeMessage& message);
76 void OnSuccessfulVersionNegotiation(const QuicVersion& version);
78 void UpdateReceivedFrameCounts(QuicStreamId stream_id, 77 void UpdateReceivedFrameCounts(QuicStreamId stream_id,
79 int num_frames_received, 78 int num_frames_received,
80 int num_duplicate_frames_received); 79 int num_duplicate_frames_received);
81 void OnCertificateVerified(const CertVerifyResult& result); 80 void OnCertificateVerified(const CertVerifyResult& result);
82 81
83 private: 82 private:
84 // Do a factory get for a histogram for recording data, about individual 83 // Do a factory get for a histogram for recording data, about individual
85 // packet sequence numbers, that was gathered in the vectors 84 // packet sequence numbers, that was gathered in the vectors
86 // received_packets_ and received_acks_. |statistic_name| identifies which 85 // received_packets_ and received_acks_. |statistic_name| identifies which
87 // element of data is recorded, and is used to form the histogram name. 86 // element of data is recorded, and is used to form the histogram name.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // The available type of connection (WiFi, 3G, etc.) when connection was first 161 // The available type of connection (WiFi, 3G, etc.) when connection was first
163 // used. 162 // used.
164 const char* const connection_description_; 163 const char* const connection_description_;
165 164
166 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 165 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
167 }; 166 };
168 167
169 } // namespace net 168 } // namespace net
170 169
171 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 170 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698