diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-27 01:58:02 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-27 01:58:02 +0000 |
commit | 256fe9b4ffe5653709d316319a65c978912c7c34 (patch) | |
tree | fdb586dd773f2b333b64963b8299f2793e8d621e /net/quic/quic_stream_factory.h | |
parent | bda81c94c23a0e84cac9fbf14960d4d0f56318a4 (diff) | |
download | chromium_src-256fe9b4ffe5653709d316319a65c978912c7c34.zip chromium_src-256fe9b4ffe5653709d316319a65c978912c7c34.tar.gz chromium_src-256fe9b4ffe5653709d316319a65c978912c7c34.tar.bz2 |
Configure QUIC max packet size via a Field Trial or command line arg.
When configured via field trial we well extract the packet size from the name of the field trial group.
Review URL: https://codereview.chromium.org/84273002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_stream_factory.h')
-rw-r--r-- | net/quic/quic_stream_factory.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h index 2b7d8e3..95a3d36 100644 --- a/net/quic/quic_stream_factory.h +++ b/net/quic/quic_stream_factory.h @@ -88,7 +88,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory base::WeakPtr<HttpServerProperties> http_server_properties, QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory, QuicRandom* random_generator, - QuicClock* clock); + QuicClock* clock, + size_t max_packet_length); virtual ~QuicStreamFactory(); // Creates a new QuicHttpStream to |host_port_proxy_pair| which will be @@ -193,6 +194,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_; QuicRandom* random_generator_; scoped_ptr<QuicClock> clock_; + const size_t max_packet_length_; // The helper used for all connections. scoped_ptr<QuicConnectionHelper> helper_; |