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 8b832fa00b646adae7ec47f8a9f550d060ed437c..c9d36f3f5153a87be14418014dd8cbac7d9ac92d 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,28 +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_->IsDataReductionProxyManaged()); |
CheckOnPrefChange(true, true, false); |
EXPECT_TRUE(settings_->IsDataReductionProxyEnabled()); |
+ EXPECT_TRUE(settings_->IsDataSaverEnabled()); |
EXPECT_FALSE(settings_->IsDataReductionProxyManaged()); |
CheckOnPrefChange(true, true, true); |
EXPECT_TRUE(settings_->IsDataReductionProxyEnabled()); |
+ EXPECT_TRUE(settings_->IsDataSaverEnabled()); |
EXPECT_TRUE(settings_->IsDataReductionProxyManaged()); |
test_context_->RunUntilIdle(); |
} |
TEST_F(DataReductionProxySettingsTest, TestCanUseDataReductionProxy) { |
InitPrefMembers(); |
// The proxy is disabled initially. |
test_context_->config()->SetStateForTest(false, true); |