summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_stream_factory.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-11 04:26:14 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-11 04:26:14 +0000
commitfd276a28d54d41d8aa735ba30dd8ee0726e10929 (patch)
tree7f84b9da1af1387bd9e492119697adebeedf5c26 /net/quic/quic_stream_factory.h
parent2f6361cfc097e6fbf9c5c68c38f5a1dd2e5c290c (diff)
downloadchromium_src-fd276a28d54d41d8aa735ba30dd8ee0726e10929.zip
chromium_src-fd276a28d54d41d8aa735ba30dd8ee0726e10929.tar.gz
chromium_src-fd276a28d54d41d8aa735ba30dd8ee0726e10929.tar.bz2
Make the config_ member of QuicStreamFactory const to prevent bugs
resulting from mutating config_ instead of config. Review URL: https://codereview.chromium.org/328483002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_stream_factory.h')
-rw-r--r--net/quic/quic_stream_factory.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index cc79285..eb82659 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -172,8 +172,6 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
quic_server_info_factory_ = quic_server_info_factory;
}
- bool enable_pacing() const { return enable_pacing_; }
-
private:
class Job;
friend class test::QuicStreamFactoryPeer;
@@ -260,7 +258,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// Origins which have gone away recently.
AliasSet gone_away_aliases_;
- QuicConfig config_;
+ const QuicConfig config_;
QuicCryptoClientConfig crypto_config_;
JobMap active_jobs_;
@@ -274,9 +272,6 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// connection.
bool enable_port_selection_;
- // True if packet pacing should be advertised during the crypto handshake.
- bool enable_pacing_;
-
// Each profile will (probably) have a unique port_seed_ value. This value is
// used to help seed a pseudo-random number generator (PortSuggester) so that
// we consistently (within this profile) suggest the same ephemeral port when