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

Unified Diff: chrome/browser/io_thread.h

Issue 557373002: Plumbing for TCP FastOpen field trial and enables it for SSL sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tfo2
Patch Set: Added a field trial group name. Created 6 years, 3 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 a989118415d9e012be53f51dbe447e739365f57c..11a41f889be8d468ca738972f6b3a46e5e1d66e6 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -169,6 +169,7 @@ class IOThread : public content::BrowserThreadDelegate {
bool ignore_certificate_errors;
uint16 testing_fixed_http_port;
uint16 testing_fixed_https_port;
+ Optional<bool> enable_tcp_fast_open_for_ssl;
Optional<size_t> initial_max_spdy_concurrent_streams;
Optional<bool> force_spdy_single_domain;
@@ -265,6 +266,9 @@ class IOThread : public content::BrowserThreadDelegate {
void InitializeNetworkOptions(const base::CommandLine& parsed_command_line);
+ // Sets up TCP FastOpen if enabled via field trials or via the command line.
+ void ConfigureTCPFastOpen(const base::CommandLine& command_line);
+
// Enable SPDY with the given mode, which may contain the following:
//
// "off" : Disables SPDY support entirely.
« 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