summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_stream_factory.h
diff options
context:
space:
mode:
authorrch <rch@chromium.org>2015-02-27 16:07:41 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-28 00:08:35 +0000
commit83e8c1477cf5d41928b8c9035f0c4812828752f4 (patch)
tree58d33936dead03dccc94b81f73f02399bf9a612c /net/quic/quic_stream_factory.h
parent7a8e7054cd6d3a8ce9a5891f021629de94d8ae86 (diff)
downloadchromium_src-83e8c1477cf5d41928b8c9035f0c4812828752f4.zip
chromium_src-83e8c1477cf5d41928b8c9035f0c4812828752f4.tar.gz
chromium_src-83e8c1477cf5d41928b8c9035f0c4812828752f4.tar.bz2
Add a new enable_nonblocking_io field trial param for QUIC which enables the new non-blocking IO support on windows.
BUG=442392 Review URL: https://codereview.chromium.org/938003003 Cr-Commit-Position: refs/heads/master@{#318555}
Diffstat (limited to 'net/quic/quic_stream_factory.h')
-rw-r--r--net/quic/quic_stream_factory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index fb083ae..4ffbac6 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -109,6 +109,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
float load_server_info_timeout_srtt_multiplier,
bool enable_truncated_connection_ids,
bool enable_connection_racing,
+ bool enable_non_blocking_io,
bool disable_disk_cache,
int socket_receive_buffer_size,
const QuicTagVector& connection_options);
@@ -331,6 +332,9 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// config from the disk cache.
bool enable_connection_racing_;
+ // Set if experimental non-blocking IO should be used on windows sockets.
+ bool enable_non_blocking_io_;
+
// Set if we do not want to load server config from the disk cache.
bool disable_disk_cache_;