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

Unified Diff: chrome/browser/io_thread.h

Issue 938003003: Add a new enable_nonblocking_io field trial param for QUIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: working Created 5 years, 10 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 | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 10a9ad9de6f99f5e3ebe01daaf286e500911d351..b6717b7edba649e3563d0a82f2443a04b7726d85 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -190,6 +190,7 @@ class IOThread : public content::BrowserThreadDelegate {
Optional<float> quic_load_server_info_timeout_srtt_multiplier;
Optional<bool> quic_enable_truncated_connection_ids;
Optional<bool> quic_enable_connection_racing;
+ Optional<bool> quic_enable_nonblocking_io;
ramant (doing other things) 2015/02/27 23:03:29 nit: consider "quic_enable_nonblocking_io" -> "qui
Ryan Hamilton 2015/02/27 23:07:26 Done.
Optional<bool> quic_disable_disk_cache;
Optional<size_t> quic_max_packet_length;
net::QuicTagVector quic_connection_options;
@@ -384,6 +385,10 @@ class IOThread : public content::BrowserThreadDelegate {
static bool ShouldQuicEnableConnectionRacing(
const VariationParameters& quic_trial_params);
+ // Returns true if QUIC's should use non-blocking IO.
+ static bool ShouldQuicEnableNonblockingIO(
ramant (doing other things) 2015/02/27 23:03:29 nit: "ShouldQuicEnableNonblockingIO" -> "ShouldQui
Ryan Hamilton 2015/02/27 23:07:26 Done.
+ const VariationParameters& quic_trial_params);
+
// Returns true if QUIC shouldn't load QUIC server information from the disk
// cache.
static bool ShouldQuicDisableDiskCache(
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698