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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.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_service_client_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc
index b30a9b900adb7d36b509428f273f53cf60731dc7..5431ebf91983f3f187e66914b805f5339aa8f19e 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc
@@ -224,7 +224,8 @@ class DataReductionProxyConfigServiceClientTest : public testing::Test {
}
void SetDataReductionProxyEnabled(bool enabled, bool secure_proxy_allowed) {
- test_context_->config()->SetStateForTest(enabled, secure_proxy_allowed);
+ test_context_->config()->UpdateConfigForTesting(enabled,
+ secure_proxy_allowed);
}
void ResetBackoffEntryReleaseTime() {

Powered by Google App Engine
This is Rietveld 408576698