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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.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: Fixed formatting 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
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
index 26fad478e18f7411bbebe146fa19f8d22395c8fa..7e8119cd3e69441a89193b57f88e19adffd8bec2 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
@@ -150,6 +150,11 @@ void DataReductionProxySettings::InitDataReductionProxySettings(
net::NetworkChangeNotifier::AddIPAddressObserver(this);
}
+void DataReductionProxySettings::EnableQUIC(
+ bool quic_enabled_for_proxies) {
+ params()->EnableQUIC(quic_enabled_for_proxies);
bengr 2015/02/11 23:57:28 DCHECK(params())
tbansal1 2015/02/12 02:27:21 Done.
+}
+
void DataReductionProxySettings::SetDataReductionProxyStatisticsPrefs(
DataReductionProxyStatisticsPrefs* statistics_prefs) {
statistics_prefs_ = statistics_prefs;

Powered by Google App Engine
This is Rietveld 408576698