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

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

Issue 126283002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed extra space Created 6 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_connection_helper.h ('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 "net/quic/quic_connection.h" 8 #include "net/quic/quic_connection.h"
9 #include "net/quic/quic_protocol.h" 9 #include "net/quic/quic_protocol.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 class BoundNetLog; 13 class BoundNetLog;
14 class CryptoHandshakeMessage; 14 class CryptoHandshakeMessage;
15 15
16 // This class is a debug visitor of a QuicConnection which logs 16 // This class is a debug visitor of a QuicConnection which logs
17 // events to |net_log|. 17 // events to |net_log|.
18 class NET_EXPORT_PRIVATE QuicConnectionLogger 18 class NET_EXPORT_PRIVATE QuicConnectionLogger
19 : public QuicConnectionDebugVisitorInterface { 19 : public QuicConnectionDebugVisitorInterface {
20 public: 20 public:
21 explicit QuicConnectionLogger(const BoundNetLog& net_log); 21 explicit QuicConnectionLogger(const BoundNetLog& net_log);
22 22
23 virtual ~QuicConnectionLogger(); 23 virtual ~QuicConnectionLogger() OVERRIDE;
24 24
25 // QuicPacketGenerator::DebugDelegateInterface 25 // QuicPacketGenerator::DebugDelegateInterface
26 virtual void OnFrameAddedToPacket(const QuicFrame& frame) OVERRIDE; 26 virtual void OnFrameAddedToPacket(const QuicFrame& frame) OVERRIDE;
27 27
28 // QuicConnectionDebugVisitorInterface 28 // QuicConnectionDebugVisitorInterface
29 virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number, 29 virtual void OnPacketSent(QuicPacketSequenceNumber sequence_number,
30 EncryptionLevel level, 30 EncryptionLevel level,
31 const QuicEncryptedPacket& packet, 31 const QuicEncryptedPacket& packet,
32 WriteResult result) OVERRIDE; 32 WriteResult result) OVERRIDE;
33 virtual void OnPacketRetransmitted( 33 virtual void OnPacketRetransmitted(
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Number of times a truncated ACK frame was sent. 75 // Number of times a truncated ACK frame was sent.
76 size_t num_truncated_acks_sent_; 76 size_t num_truncated_acks_sent_;
77 // Number of times a truncated ACK frame was received. 77 // Number of times a truncated ACK frame was received.
78 size_t num_truncated_acks_received_; 78 size_t num_truncated_acks_received_;
79 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger); 79 DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
80 }; 80 };
81 81
82 } // namespace net 82 } // namespace net
83 83
84 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_ 84 #endif // NET_QUIC_QUIC_CONNECTION_LOGGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_helper.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698