Index: net/quic/quic_stream_factory.h |
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h |
index b1dd20a0542a09e6f4b58890bfdad5e72d5ae396..9bd343e6a7aa5e4a44b4661852d07a25c6f8eb7f 100644 |
--- a/net/quic/quic_stream_factory.h |
+++ b/net/quic/quic_stream_factory.h |
@@ -42,6 +42,7 @@ class QuicRandom; |
class QuicServerInfoFactory; |
class QuicServerId; |
class QuicStreamFactory; |
+class SocketPerformanceWatcherFactory; |
class TransportSecurityState; |
namespace test { |
@@ -108,6 +109,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, |
@@ -324,6 +326,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_; |