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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc

Issue 2626963003: Remove kAllowed and kFallbackAllowed from data reduction proxy (Closed)
Patch Set: Addressed nits Created 3 years, 11 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/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
index 3495ebe42a296b012ea8d0fd0938ad85b0e52a38..c4928f0cf69a6d9e7e4483e3db11239938c39d12 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
@@ -62,15 +62,9 @@ class TestDataReductionProxySettingsAndroid
template <class C>
void data_reduction_proxy::DataReductionProxySettingsTestBase::ResetSettings(
std::unique_ptr<base::Clock> clock,
- bool allowed,
- bool fallback_allowed,
bool promo_allowed,
bool holdback) {
int flags = 0;
- if (allowed)
- flags |= DataReductionProxyParams::kAllowed;
- if (fallback_allowed)
- flags |= DataReductionProxyParams::kFallbackAllowed;
if (promo_allowed)
flags |= DataReductionProxyParams::kPromoAllowed;
if (holdback)
@@ -94,8 +88,6 @@ void data_reduction_proxy::DataReductionProxySettingsTestBase::ResetSettings(
template void
data_reduction_proxy::DataReductionProxySettingsTestBase::ResetSettings<
DataReductionProxyChromeSettings>(std::unique_ptr<base::Clock> clock,
- bool allowed,
- bool fallback_allowed,
bool promo_allowed,
bool holdback);

Powered by Google App Engine
This is Rietveld 408576698