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

Unified Diff: net/quic/congestion_control/rtt_stats_test.cc

Issue 1009633003: Populate RTT info in TransportConnectionStats. Moved RttStatsPeer class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Deprecate_flag_quic_enable_bandwidth_89021133
Patch Set: Created 5 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/net.gypi ('k') | net/quic/test_tools/rtt_stats_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/rtt_stats_test.cc
diff --git a/net/quic/congestion_control/rtt_stats_test.cc b/net/quic/congestion_control/rtt_stats_test.cc
index 7fc07a3536aa6cd83076345176f5ce903a1418ce..86c79734d651f5835a7fcba5f92d2dacbb4b21f7 100644
--- a/net/quic/congestion_control/rtt_stats_test.cc
+++ b/net/quic/congestion_control/rtt_stats_test.cc
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "base/test/mock_log.h"
+#include "net/quic/test_tools/rtt_stats_peer.h"
#include "testing/gtest/include/gtest/gtest.h"
using logging::LOG_WARNING;
@@ -19,17 +20,6 @@ using testing::_;
namespace net {
namespace test {
-class RttStatsPeer {
- public:
- static QuicTime::Delta GetHalfWindowRtt(const RttStats* rtt_stats) {
- return rtt_stats->half_window_rtt_.rtt;
- }
-
- static QuicTime::Delta GetQuarterWindowRtt(const RttStats* rtt_stats) {
- return rtt_stats->quarter_window_rtt_.rtt;
- }
-};
-
class RttStatsTest : public ::testing::Test {
protected:
RttStats rtt_stats_;
« no previous file with comments | « net/net.gypi ('k') | net/quic/test_tools/rtt_stats_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698