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

Unified Diff: chrome/browser/io_thread.h

Issue 1862193002: Enable QUIC for proxies only when QUIC is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sclittle comments Created 4 years, 7 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
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 9dad42fe17928da7a8e928acb5968d042945c6b0..8dd4759927808adf1d28fa2ce464e7da5280664c 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -204,11 +204,6 @@ class IOThread : public content::BrowserThreadDelegate {
bool is_quic_allowed_by_policy,
net::HttpNetworkSession::Params* params);
- // Returns true if QUIC should be enabled for data reduction proxy, either
- // as a result of a field trial or a command line flag.
- static bool ShouldEnableQuicForDataReductionProxy(
- const base::CommandLine& command_line);
-
private:
// Map from name to value for all parameters associate with a field trial.
using VariationParameters = std::map<std::string, std::string>;
@@ -272,13 +267,6 @@ class IOThread : public content::BrowserThreadDelegate {
base::StringPiece quic_trial_group,
bool quic_allowed_by_policy);
- // Returns true if QUIC should be enabled for proxies, either as a result of
- // a field trial or a command line flag.
- static bool ShouldEnableQuicForProxies(
- const base::CommandLine& command_line,
- base::StringPiece quic_trial_group,
- bool quic_allowed_by_policy);
-
// 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 warning
@@ -429,10 +417,6 @@ class IOThread : public content::BrowserThreadDelegate {
base::TimeTicks creation_time() const;
- // Returns true if QUIC should be enabled for data reduction proxy, either as
- // a result of a field trial or a command line flag.
- static bool ShouldEnableQuicForDataReductionProxy();
-
// Returns the callback for updating data use prefs.
const metrics::UpdateUsagePrefCallbackType& GetMetricsDataUseForwarder();

Powered by Google App Engine
This is Rietveld 408576698