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

Unified Diff: net/quic/p2p/quic_p2p_session_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/p2p/quic_p2p_session_test.cc
diff --git a/net/quic/p2p/quic_p2p_session_test.cc b/net/quic/p2p/quic_p2p_session_test.cc
index 0a3c14448dca4bc15d5965f9064f9b3ab74598f1..46b04efe1a40857812e40dbf69a2086d4f616788 100644
--- a/net/quic/p2p/quic_p2p_session_test.cc
+++ b/net/quic/p2p/quic_p2p_session_test.cc
@@ -22,6 +22,8 @@
namespace net {
+class SocketPerformanceWatcher;
+
namespace {
const char kTestSharedKey[] = "Shared key exchanged out of bound.";
@@ -240,10 +242,10 @@ class QuicP2PSessionTest : public ::testing::Test {
Perspective perspective) {
DefaultPacketWriterFactory writer_factory(socket.get());
net::IPAddressNumber ip(net::kIPv4AddressSize, 0);
- scoped_ptr<QuicConnection> quic_connection1(
- new QuicConnection(0, net::IPEndPoint(ip, 0), &quic_helper_,
- writer_factory, true /* owns_writer */, perspective,
- true /* is_secuire */, QuicSupportedVersions()));
+ scoped_ptr<QuicConnection> quic_connection1(new QuicConnection(
+ 0, net::IPEndPoint(ip, 0), &quic_helper_, writer_factory,
+ true /* owns_writer */, perspective, true /* is_secuire */,
+ QuicSupportedVersions(), scoped_ptr<SocketPerformanceWatcher>()));
scoped_ptr<QuicP2PSession> result(new QuicP2PSession(
config_, crypto_config, quic_connection1.Pass(), socket.Pass()));

Powered by Google App Engine
This is Rietveld 408576698