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

Unified Diff: chrome/browser/io_thread.h

Issue 811073004: QUIC - don't load data from disk cache if alternate protocol map doesn't (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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') | chrome/browser/io_thread.cc » ('J')
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 0b2106edbfb957f1b6d9e0cd85e640eedc22b7a0..2209f55b5c132d3bfb607d4f9ce7305c4656b197 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -192,6 +192,7 @@ class IOThread : public content::BrowserThreadDelegate {
Optional<bool> quic_always_require_handshake_confirmation;
Optional<bool> quic_disable_connection_pooling;
Optional<int> quic_load_server_info_timeout_ms;
+ Optional<bool> quic_load_server_info_if_already_spoke_quic;
ramant (doing other things) 2014/12/18 18:37:03 hi Ryan, I am not sure about the name. Would app
Ryan Hamilton 2014/12/18 19:19:12 Hm. Good question. To be clear this controls if we
ramant (doing other things) 2014/12/18 20:51:10 Thanks Ryan for the above suggestion. Renamed the
Optional<size_t> quic_max_packet_length;
net::QuicTagVector quic_connection_options;
Optional<std::string> quic_user_agent_id;
@@ -371,6 +372,11 @@ class IOThread : public content::BrowserThreadDelegate {
static int GetQuicLoadServerInfoTimeout(
const VariationParameters& quic_trial_params);
+ // Returns true if QUIC sever information shouldn't be loaded from disk cache
+ // base on field trial.
+ static bool ShouldQuicLoadServerInfoIfAlreadySpokeQuic(
+ const VariationParameters& quic_trial_params);
+
// Returns the maximum length for QUIC packets, based on any flags in
// |command_line| or the field trial. Returns 0 if there is an error
// parsing any of the options, or if the default value should be used.
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698