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

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

Issue 2552623004: Remove redundant methods for reloading DataReductionProxyConfig (Closed)
Patch Set: Created 4 years 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 ac04ec6a6c1ff97e63644639327de16bd935a96b..c56d2a60362fccf5364a29604a7621611f219da0 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
@@ -89,13 +89,6 @@ DataReductionProxyConfigValues* TestDataReductionProxyConfig::config_values() {
return config_values_.get();
}
-void TestDataReductionProxyConfig::SetStateForTest(
- bool enabled_by_user,
- bool secure_proxy_allowed) {
- enabled_by_user_ = enabled_by_user;
- secure_proxy_allowed_ = secure_proxy_allowed;
-}
-
void TestDataReductionProxyConfig::ResetLoFiStatusForTest() {
lofi_off_ = false;
}
@@ -172,12 +165,6 @@ MockDataReductionProxyConfig::MockDataReductionProxyConfig(
MockDataReductionProxyConfig::~MockDataReductionProxyConfig() {
}
-void MockDataReductionProxyConfig::UpdateConfigurator(
- bool enabled,
- bool secure_proxy_allowed) {
- DataReductionProxyConfig::UpdateConfigurator(enabled, secure_proxy_allowed);
-}
-
void MockDataReductionProxyConfig::ResetLoFiStatusForTest() {
lofi_off_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698