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_; |