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

Unified Diff: net/tools/quic/quic_dispatcher.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_dispatcher.cc
diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc
index a4efa69f730ed4669a3d92a132b75b69693fe7dd..0ef7e1ecdaa77c37cf3f0092266527b82ee58072 100644
--- a/net/tools/quic/quic_dispatcher.cc
+++ b/net/tools/quic/quic_dispatcher.cc
@@ -16,6 +16,8 @@
namespace net {
+class SocketPerformanceWatcher;
+
namespace tools {
using std::make_pair;
@@ -468,7 +470,8 @@ QuicServerSession* QuicDispatcher::CreateQuicSession(
QuicConnection* connection = new QuicConnection(
connection_id, client_address, helper_.get(), connection_writer_factory_,
/* owns_writer= */ true, Perspective::IS_SERVER,
- crypto_config_->HasProofSource(), supported_versions_);
+ crypto_config_->HasProofSource(), supported_versions_,
+ scoped_ptr<SocketPerformanceWatcher>());
QuicServerSession* session =
new QuicServerSession(config_, connection, this, crypto_config_);

Powered by Google App Engine
This is Rietveld 408576698