| Index: net/tools/quic/quic_client_base.h
|
| diff --git a/net/tools/quic/quic_client_base.h b/net/tools/quic/quic_client_base.h
|
| index 00c86fc1335003f5db40e487d3e766b08ce10743..6558a97d36874580e4e8986632cce01c89abf8d2 100644
|
| --- a/net/tools/quic/quic_client_base.h
|
| +++ b/net/tools/quic/quic_client_base.h
|
| @@ -16,6 +16,7 @@
|
| #include "net/log/net_log.h"
|
| #include "net/quic/crypto/crypto_handshake.h"
|
| #include "net/quic/crypto/quic_crypto_client_config.h"
|
| +#include "net/quic/quic_alarm_factory.h"
|
| #include "net/quic/quic_bandwidth.h"
|
| #include "net/quic/quic_client_push_promise_index.h"
|
| #include "net/quic/quic_config.h"
|
| @@ -36,6 +37,7 @@ class QuicClientBase {
|
| const QuicVersionVector& supported_versions,
|
| const QuicConfig& config,
|
| QuicConnectionHelperInterface* helper,
|
| + QuicAlarmFactory* alarm_factory,
|
| ProofVerifier* proof_verifier);
|
|
|
| ~QuicClientBase();
|
| @@ -181,6 +183,8 @@ class QuicClientBase {
|
|
|
| QuicConnectionHelperInterface* helper() { return helper_.get(); }
|
|
|
| + QuicAlarmFactory* alarm_factory() { return alarm_factory_.get(); }
|
| +
|
| void set_num_sent_client_hellos(int num_sent_client_hellos) {
|
| num_sent_client_hellos_ = num_sent_client_hellos;
|
| }
|
| @@ -201,6 +205,9 @@ class QuicClientBase {
|
| // Helper to be used by created connections. Needs to outlive |session_|.
|
| std::unique_ptr<QuicConnectionHelperInterface> helper_;
|
|
|
| + // Helper to be used by created connections. Needs to outlive |session_|.
|
| + std::unique_ptr<QuicAlarmFactory> alarm_factory_;
|
| +
|
| // Writer used to actually send packets to the wire. Needs to outlive
|
| // |session_|.
|
| std::unique_ptr<QuicPacketWriter> writer_;
|
|
|