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

Unified Diff: chrome/browser/io_thread.cc

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: 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 | components/data_reduction_proxy/core/common/data_reduction_proxy_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 9ef53eeac4556f6865d2b244199b8d94a453161e..7e649cb7b8d09e5b1ff5c3d3a9d5718e78dc492d 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -1226,7 +1226,9 @@ bool IOThread::ShouldEnableQuic(const base::CommandLine& command_line,
return true;
return quic_trial_group.starts_with(kQuicFieldTrialEnabledGroupName) ||
- quic_trial_group.starts_with(kQuicFieldTrialHttpsEnabledGroupName);
+ quic_trial_group.starts_with(kQuicFieldTrialHttpsEnabledGroupName) ||
+ base::FieldTrialList::FindFullName(
+ "DataReductionProxyUseQUICAsPrimaryOrigin") == "Enabled";
Ryan Hamilton 2015/02/06 22:23:52 Ah, I see. Hm, I'm not super in love this this. Th
}
bool IOThread::ShouldEnableQuicPortSelection(
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/common/data_reduction_proxy_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698