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

Unified Diff: chrome/browser/io_thread.h

Issue 1613513003: Early connection migration in QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Style nit fixed. Created 4 years, 11 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') | net/http/http_network_session.h » ('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 bf5b93d5b3361510f4a75b36eafc69517e7c6748..85e5f507e8ca1e3a8bc7f2b7e2387abb0e66efea 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -244,6 +244,7 @@ class IOThread : public content::BrowserThreadDelegate {
Optional<bool> quic_disable_preconnect_if_0rtt;
std::unordered_set<std::string> quic_host_whitelist;
Optional<bool> quic_migrate_sessions_on_network_change;
+ Optional<bool> quic_migrate_sessions_early;
bool enable_user_alternate_protocol_ports;
// NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
// main frame load fails with a DNS error in order to provide more useful
@@ -488,6 +489,10 @@ class IOThread : public content::BrowserThreadDelegate {
static bool ShouldQuicMigrateSessionsOnNetworkChange(
const VariationParameters& quic_trial_params);
+ // Returns true if QUIC should migrate sessions early.
+ static bool ShouldQuicMigrateSessionsEarly(
+ 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') | net/http/http_network_session.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698