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

Unified Diff: net/quic/quic_stream_factory.h

Issue 1905843003: Split out QuicAlarm creation from QuicConnectionHelper to new QuicAlarmFactory. No behavior change,… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119753783
Patch Set: Rebase 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/quic/quic_spdy_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index 1500d4a567aa55c18abbef2381f52f115a75ecd6..5a9ee860fdea9df56fd547d2dcf9279038ab737d 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -49,6 +49,7 @@ class CTVerifier;
class HostResolver;
class HttpServerProperties;
class QuicClock;
+class QuicChromiumAlarmFactory;
class QuicChromiumClientSession;
class QuicChromiumConnectionHelper;
class QuicCryptoClientStreamFactory;
@@ -303,6 +304,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
QuicChromiumConnectionHelper* helper() { return helper_.get(); }
+ QuicChromiumAlarmFactory* alarm_factory() { return alarm_factory_.get(); }
+
bool enable_port_selection() const { return enable_port_selection_; }
bool has_quic_server_info_factory() {
@@ -428,6 +431,9 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// The helper used for all connections.
std::unique_ptr<QuicChromiumConnectionHelper> helper_;
+ // The alarm factory used for all connections.
+ std::unique_ptr<QuicChromiumAlarmFactory> alarm_factory_;
+
// Contains owning pointers to all sessions that currently exist.
SessionIdMap all_sessions_;
// Contains non-owning pointers to currently active session
« no previous file with comments | « net/quic/quic_spdy_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698