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

Unified Diff: net/quic/quic_connection_test.cc

Issue 1305293004: Notfiy NQE of QUIC RTT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated with more comments and tests Created 5 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_test.cc
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
index 5bff36b3f9dee4c91a066abcb1a78165df4513e7..fabaa0b47697cecfc7bd63313e8bf4f08f68f3b3 100644
--- a/net/quic/quic_connection_test.cc
+++ b/net/quic/quic_connection_test.cc
@@ -53,6 +53,9 @@ using testing::StrictMock;
using testing::_;
namespace net {
+
+class SocketPerformanceWatcher;
+
namespace test {
namespace {
@@ -401,7 +404,8 @@ class TestConnection : public QuicConnection {
/* owns_writer= */ false,
perspective,
/* is_secure= */ false,
- SupportedVersions(version)) {
+ SupportedVersions(version),
+ scoped_ptr<SocketPerformanceWatcher>()) {
// Disable tail loss probes for most tests.
QuicSentPacketManagerPeer::SetMaxTailLossProbes(
QuicConnectionPeer::GetSentPacketManager(this), 0);

Powered by Google App Engine
This is Rietveld 408576698