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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_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_delegate_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc
index 71cd8350e4873d5b9209c9e54ca562e9246639ce..3e6a34d5a850b6da00c4cfffb87d105db149328a 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc
@@ -883,8 +883,8 @@ TEST_F(DataReductionProxyDelegateTest, HTTPRequests) {
data_reduction_proxy_config.set_id(1);
}
EXPECT_NE(test.use_direct_proxy, data_reduction_proxy_config.is_valid());
- config()->SetStateForTest(test.enabled_by_user /* enabled */,
- false /* at_startup */);
+ config()->UpdateConfigForTesting(test.enabled_by_user /* enabled */,
+ false /* at_startup */);
net::ProxyRetryInfoMap empty_proxy_retry_info;

Powered by Google App Engine
This is Rietveld 408576698