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

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: Addressed Ben's comments 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..028670c5afb51d77f73ae252589be084bbb7379f 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 enable) {
+ DCHECK(params());
+ params()->EnableQuic(enable);
+}
+
void DataReductionProxySettings::SetDataReductionProxyStatisticsPrefs(
DataReductionProxyStatisticsPrefs* statistics_prefs) {
statistics_prefs_ = statistics_prefs;

Powered by Google App Engine
This is Rietveld 408576698