| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| index c9d36f3f5153a87be14418014dd8cbac7d9ac92d..a66146328445062c2e1c525359cf9ab8fc752c20 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
| @@ -57,31 +57,31 @@ class DataReductionProxySettingsTest
|
| settings_->InitPrefMembers();
|
| }
|
| };
|
|
|
| TEST_F(DataReductionProxySettingsTest, TestIsProxyEnabledOrManaged) {
|
| InitPrefMembers();
|
| // The proxy is disabled initially.
|
| test_context_->config()->SetStateForTest(false, true);
|
|
|
| EXPECT_FALSE(settings_->IsDataReductionProxyEnabled());
|
| - EXPECT_FALSE(settings_->IsDataSaverEnabled());
|
| + EXPECT_FALSE(settings_->ShouldRecordDataSavings());
|
| EXPECT_FALSE(settings_->IsDataReductionProxyManaged());
|
|
|
| CheckOnPrefChange(true, true, false);
|
| EXPECT_TRUE(settings_->IsDataReductionProxyEnabled());
|
| - EXPECT_TRUE(settings_->IsDataSaverEnabled());
|
| + EXPECT_TRUE(settings_->ShouldRecordDataSavings());
|
| EXPECT_FALSE(settings_->IsDataReductionProxyManaged());
|
|
|
| CheckOnPrefChange(true, true, true);
|
| EXPECT_TRUE(settings_->IsDataReductionProxyEnabled());
|
| - EXPECT_TRUE(settings_->IsDataSaverEnabled());
|
| + EXPECT_TRUE(settings_->ShouldRecordDataSavings());
|
| EXPECT_TRUE(settings_->IsDataReductionProxyManaged());
|
|
|
| test_context_->RunUntilIdle();
|
| }
|
|
|
| TEST_F(DataReductionProxySettingsTest, TestCanUseDataReductionProxy) {
|
| InitPrefMembers();
|
| // The proxy is disabled initially.
|
| test_context_->config()->SetStateForTest(false, true);
|
|
|
|
|