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

Unified Diff: net/quic/quic_connection_logger.h

Issue 549433006: Fix the logic for computing the number of truncated QUIC ACK frames sent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_connection_logger.h
diff --git a/net/quic/quic_connection_logger.h b/net/quic/quic_connection_logger.h
index 8e81dd9bf2112d743035d018bf18f10512a174bb..766dedb7cda39e230660650f3b788a71739a4ab8 100644
--- a/net/quic/quic_connection_logger.h
+++ b/net/quic/quic_connection_logger.h
@@ -14,6 +14,9 @@
#include "net/quic/quic_protocol.h"
namespace net {
+namespace test {
+class QuicConnectionLoggerPeer;
+} // namespace test
class CryptoHandshakeMessage;
class CertVerifyResult;
@@ -81,6 +84,8 @@ class NET_EXPORT_PRIVATE QuicConnectionLogger
void OnCertificateVerified(const CertVerifyResult& result);
private:
+ friend class test::QuicConnectionLoggerPeer;
+
// Do a factory get for a histogram for recording data, about individual
// packet sequence numbers, that was gathered in the vectors
// received_packets_ and received_acks_. |statistic_name| identifies which

Powered by Google App Engine
This is Rietveld 408576698