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

Unified Diff: net/quic/test_tools/quic_test_utils.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/test_tools/quic_test_utils.cc
diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
index cab2bf72098cafece9b708034a1e5e9729747cbd..0034cf453b1fbb100efc7b66be78a797a18febba 100644
--- a/net/quic/test_tools/quic_test_utils.cc
+++ b/net/quic/test_tools/quic_test_utils.cc
@@ -30,6 +30,9 @@ using testing::Invoke;
using testing::_;
namespace net {
+
+class SocketPerformanceWatcher;
+
namespace test {
namespace {
@@ -294,7 +297,8 @@ MockConnection::MockConnection(QuicConnectionId connection_id,
/* owns_writer= */ true,
perspective,
is_secure,
- supported_versions),
+ supported_versions,
+ scoped_ptr<SocketPerformanceWatcher>()),
helper_(helper()) {
ON_CALL(*this, OnError(_))
.WillByDefault(

Powered by Google App Engine
This is Rietveld 408576698