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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using UserData and adressing nasko comments Created 5 years, 3 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_config_test_utils.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
index c50e743301e69e947cad15577a5f7d2487692f5b..618f054998c06f2a66f3383e2bb7950665e9520a 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
@@ -95,7 +95,7 @@ void TestDataReductionProxyConfig::SetStateForTest(
}
void TestDataReductionProxyConfig::ResetLoFiStatusForTest() {
- lofi_status_ = LoFiStatus::LOFI_STATUS_TEMPORARILY_OFF;
+ lofi_off_ = false;
}
bool TestDataReductionProxyConfig::IsIncludedInLoFiEnabledFieldTrial() const {
@@ -133,7 +133,7 @@ void MockDataReductionProxyConfig::UpdateConfigurator(
}
void MockDataReductionProxyConfig::ResetLoFiStatusForTest() {
- lofi_status_ = LoFiStatus::LOFI_STATUS_TEMPORARILY_OFF;
+ lofi_off_ = false;
}
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698