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

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

Issue 648933003: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with TOT Created 6 years, 2 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_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 16 matching lines...) Expand all
27 : public QuicConnectionDebugVisitor { 27 : public QuicConnectionDebugVisitor {
28 public: 28 public:
29 explicit QuicConnectionLogger(const BoundNetLog& net_log); 29 explicit QuicConnectionLogger(const BoundNetLog& net_log);
30 30
31 virtual ~QuicConnectionLogger(); 31 virtual ~QuicConnectionLogger();
32 32
33 // QuicPacketGenerator::DebugDelegateInterface 33 // QuicPacketGenerator::DebugDelegateInterface
34 virtual void OnFrameAddedToPacket(const QuicFrame& frame) override; 34 virtual void OnFrameAddedToPacket(const QuicFrame& frame) override;
35 35
36 // QuicConnectionDebugVisitorInterface 36 // QuicConnectionDebugVisitorInterface
37 virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number, 37 virtual void OnPacketSent(const SerializedPacket& serialized_packet,
38 QuicPacketSequenceNumber original_sequence_number, 38 QuicPacketSequenceNumber original_sequence_number,
39 EncryptionLevel level, 39 EncryptionLevel level,
40 TransmissionType transmission_type, 40 TransmissionType transmission_type,
41 const QuicEncryptedPacket& packet, 41 const QuicEncryptedPacket& packet,
42 WriteResult result) override; 42 QuicTime sent_time) override;
43 virtual void OnPacketReceived(const IPEndPoint& self_address, 43 virtual void OnPacketReceived(const IPEndPoint& self_address,
44 const IPEndPoint& peer_address, 44 const IPEndPoint& peer_address,
45 const QuicEncryptedPacket& packet) override; 45 const QuicEncryptedPacket& packet) override;
46 virtual void OnIncorrectConnectionId( 46 virtual void OnIncorrectConnectionId(
47 QuicConnectionId connection_id) override; 47 QuicConnectionId connection_id) override;
48 virtual void OnUndecryptablePacket() override; 48 virtual void OnUndecryptablePacket() override;
49 virtual void OnDuplicatePacket(QuicPacketSequenceNumber sequence_number) 49 virtual void OnDuplicatePacket(QuicPacketSequenceNumber sequence_number)
50 override; 50 override;
51 virtual void OnProtocolVersionMismatch(QuicVersion version) override; 51 virtual void OnProtocolVersionMismatch(QuicVersion version) override;
52 virtual void OnPacketHeader(const QuicPacketHeader& header) override; 52 virtual void OnPacketHeader(const QuicPacketHeader& header) override;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // The available type of connection (WiFi, 3G, etc.) when connection was first 165 // The available type of connection (WiFi, 3G, etc.) when connection was first
166 // used. 166 // used.
167 const char* const connection_description_; 167 const char* const connection_description_;
168 168
169 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 169 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
170 }; 170 };
171 171
172 } // namespace net 172 } // namespace net
173 173
174 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 174 #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