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

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

Issue 198353003: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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.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 <bitset> 8 #include <bitset>
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 13 matching lines...) Expand all
24 explicit QuicConnectionLogger(const BoundNetLog& net_log); 24 explicit QuicConnectionLogger(const BoundNetLog& net_log);
25 25
26 virtual ~QuicConnectionLogger(); 26 virtual ~QuicConnectionLogger();
27 27
28 // QuicPacketGenerator::DebugDelegateInterface 28 // QuicPacketGenerator::DebugDelegateInterface
29 virtual void OnFrameAddedToPacket(const QuicFrame& frame) OVERRIDE; 29 virtual void OnFrameAddedToPacket(const QuicFrame& frame) OVERRIDE;
30 30
31 // QuicConnectionDebugVisitorInterface 31 // QuicConnectionDebugVisitorInterface
32 virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number, 32 virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number,
33 EncryptionLevel level, 33 EncryptionLevel level,
34 TransmissionType transmission_type,
34 const QuicEncryptedPacket& packet, 35 const QuicEncryptedPacket& packet,
35 WriteResult result) OVERRIDE; 36 WriteResult result) OVERRIDE;
36 virtual void OnPacketRetransmitted( 37 virtual void OnPacketRetransmitted(
37 QuicPacketSequenceNumber old_sequence_number, 38 QuicPacketSequenceNumber old_sequence_number,
38 QuicPacketSequenceNumber new_sequence_number) OVERRIDE; 39 QuicPacketSequenceNumber new_sequence_number) OVERRIDE;
39 virtual void OnPacketReceived(const IPEndPoint& self_address, 40 virtual void OnPacketReceived(const IPEndPoint& self_address,
40 const IPEndPoint& peer_address, 41 const IPEndPoint& peer_address,
41 const QuicEncryptedPacket& packet) OVERRIDE; 42 const QuicEncryptedPacket& packet) OVERRIDE;
42 virtual void OnProtocolVersionMismatch(QuicVersion version) OVERRIDE; 43 virtual void OnProtocolVersionMismatch(QuicVersion version) OVERRIDE;
43 virtual void OnPacketHeader(const QuicPacketHeader& header) OVERRIDE; 44 virtual void OnPacketHeader(const QuicPacketHeader& header) OVERRIDE;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 std::bitset<101> packets_received_; 96 std::bitset<101> packets_received_;
96 // The available type of connection (WiFi, 3G, etc.) when connection was first 97 // The available type of connection (WiFi, 3G, etc.) when connection was first
97 // used. 98 // used.
98 NetworkChangeNotifier::ConnectionType connection_type_; 99 NetworkChangeNotifier::ConnectionType connection_type_;
99 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 100 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
100 }; 101 };
101 102
102 } // namespace net 103 } // namespace net
103 104
104 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 105 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698