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

Unified Diff: net/tools/quic/quic_client_base.h

Issue 1908103002: Landing Recent QUIC changes until 4/15/2016 17:20 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698