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

Unified Diff: net/quic/quic_stats.cc

Issue 12806002: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor comment fix Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_stats.h ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stats.cc
diff --git a/net/quic/quic_stats.cc b/net/quic/quic_stats.cc
new file mode 100644
index 0000000000000000000000000000000000000000..162e093109b18b31d3c38c7944c92426e97d12c4
--- /dev/null
+++ b/net/quic/quic_stats.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/quic/quic_stats.h"
+
+namespace net {
+
+QuicConnectionStats::QuicConnectionStats() {
+ bytes_sent = 0;
+ packets_sent = 0;
+
+ bytes_received = 0;
+ packets_received = 0;
+
+ bytes_retransmitted = 0;
+ packets_retransmitted = 0;
+
+ packets_revived = 0;
+ packets_dropped = 0;
+ rto_count = 0;
+
+ rtt = 0;
+ estimated_bandwidth = 0;
+}
+
+QuicConnectionStats::~QuicConnectionStats() {}
+
+} // namespace net
« no previous file with comments | « net/quic/quic_stats.h ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698