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

Unified Diff: net/quic/quic_connection_logger.h

Issue 180833004: Gather histogram for received packets indicating losses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | net/quic/quic_connection_logger.cc » ('j') | net/quic/quic_connection_logger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_logger.h
diff --git a/net/quic/quic_connection_logger.h b/net/quic/quic_connection_logger.h
index ed9577ac361761ec0b98805f6e5f7eead0de5da7..7f8eebe924c489e74a9cf80a1275d92e9edda5c5 100644
--- a/net/quic/quic_connection_logger.h
+++ b/net/quic/quic_connection_logger.h
@@ -5,6 +5,8 @@
#ifndef NET_QUIC_QUIC_CONNECTION_LOGGER_H_
#define NET_QUIC_QUIC_CONNECTION_LOGGER_H_
+#include <vector>
+
#include "net/base/ip_endpoint.h"
#include "net/quic/quic_connection.h"
#include "net/quic/quic_protocol.h"
@@ -78,6 +80,8 @@ class NET_EXPORT_PRIVATE QuicConnectionLogger
size_t num_truncated_acks_received_;
// The kCADR value provided by the server in ServerHello.
IPEndPoint client_address_;
+ // Vector of inital packets status', where false means never received.
+ std::vector<bool> packets_received_;
Ryan Hamilton 2014/03/05 03:48:00 You could also consider using a std::bitset, if yo
jar (doing other things) 2014/03/06 03:34:17 Done.
DISALLOW_COPY_AND_ASSIGN(QuicConnectionLogger);
};
« no previous file with comments | « no previous file | net/quic/quic_connection_logger.cc » ('j') | net/quic/quic_connection_logger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698