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

Unified Diff: net/quic/quic_stream_factory.h

Issue 1305293004: Notfiy NQE of QUIC RTT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments 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_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index c73268045f7bc3774c9ecd1deda53d031a34e084..d03185a1d4c537eec96c71e0c5e87f3a7bed5fae 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -43,6 +43,7 @@ class QuicRandom;
class QuicServerInfoFactory;
class QuicServerId;
class QuicStreamFactory;
+class SocketPerformanceWatcherFactory;
class TransportSecurityState;
namespace test {
@@ -110,6 +111,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
CertPolicyEnforcer* cert_policy_enforcer,
ChannelIDService* channel_id_service,
TransportSecurityState* transport_security_state,
+ const SocketPerformanceWatcherFactory* socket_performance_watcher_factory,
QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory,
QuicRandom* random_generator,
QuicClock* clock,
@@ -331,6 +333,11 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
scoped_ptr<QuicClock> clock_;
const size_t max_packet_length_;
+ // Factory which is used to create socket performance watcher. A new watcher
+ // is created for every QUIC connection.
+ // |socket_performance_watcher_factory_| may be null.
+ const SocketPerformanceWatcherFactory* socket_performance_watcher_factory_;
+
// The helper used for all connections.
scoped_ptr<QuicConnectionHelper> helper_;

Powered by Google App Engine
This is Rietveld 408576698