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

Unified Diff: chrome/browser/io_thread.h

Issue 903213003: Enable QUIC for proxies based on Finch config and command line switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Followed on what we discussed. 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') | 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 1f969ec4a63fce5acf8c46d0cb821f4e939e9454..21f6eb4a3dd0ce0144d5b6b6deaff3f4739fa86a 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -182,6 +182,7 @@ class IOThread : public content::BrowserThreadDelegate {
Optional<double> alternate_protocol_probability_threshold;
Optional<bool> enable_quic;
+ Optional<bool> enable_quic_proxy;
Ryan Hamilton 2015/02/08 16:56:36 I think you mean enable_quic_for_proxies, or some
tbansal1 2015/02/10 19:46:04 Done.
Optional<bool> enable_quic_port_selection;
Optional<bool> quic_always_require_handshake_confirmation;
Optional<bool> quic_disable_connection_pooling;
@@ -329,6 +330,11 @@ class IOThread : public content::BrowserThreadDelegate {
const base::CommandLine& command_line,
base::StringPiece quic_trial_group);
+ // Returns true if QUIC should be enabled for proxies.
bengr 2015/02/07 01:48:48 , either as a result of a field trial or a command
tbansal1 2015/02/10 19:46:04 Done.
+ static bool ShouldEnableQuicForProxies(
+ const base::CommandLine& command_line,
+ base::StringPiece quic_trial_group);
bengr 2015/02/07 01:48:48 quic_proxy_trial_group?
tbansal1 2015/02/10 19:46:04 Done.
+
// Returns true if the selection of the ephemeral port in bind() should be
// performed by Chromium, and false if the OS should select the port. The OS
// option is used to prevent Windows from posting a security security warning
« 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