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

Unified Diff: net/tools/quic/quic_client.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/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index ed3585020a3dfa6b35b40f71494bf2ee4e0082a6..1c735bccb5eec337f5543e9a7d0d444e10ef5578 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -31,6 +31,9 @@ using std::string;
using std::vector;
namespace net {
+
+class SocketPerformanceWatcher;
+
namespace tools {
const int kEpollFlags = EPOLLIN | EPOLLOUT | EPOLLET;
@@ -243,7 +246,7 @@ void QuicClient::StartConnect() {
CreateQuicClientSession(new QuicConnection(
GetNextConnectionId(), server_address_, helper_.get(), factory,
/* owns_writer= */ false, Perspective::IS_CLIENT, server_id().is_https(),
- supported_versions()));
+ supported_versions(), scoped_ptr<SocketPerformanceWatcher>()));
// Reset |writer_| after |session()| so that the old writer outlives the old
// session.

Powered by Google App Engine
This is Rietveld 408576698