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 092c48c2006ab65776948917c59c2d1b663df82b..b07813e337d6072ab333ae2a00e2469b56d7025a 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 |
@@ -309,31 +309,10 @@ TEST_F(DataReductionProxySettingsTest, TestSetDataReductionProxyEnabled) { |
settings_->SetDataReductionProxyEnabled(false); |
test_context_->RunUntilIdle(); |
CheckDataReductionProxySyntheticTrial(false); |
- CheckDataReductionProxyLoFiSyntheticTrial(false); |
ExpectSetProxyPrefs(true, false); |
settings->SetDataReductionProxyEnabled(true); |
CheckDataReductionProxySyntheticTrial(true); |
- CheckDataReductionProxyLoFiSyntheticTrial(true); |
-} |
- |
-TEST_F(DataReductionProxySettingsTest, TestEnableLoFiSyntheticTrial) { |
- MockSettings* settings = static_cast<MockSettings*>(settings_.get()); |
- EXPECT_CALL(*settings, RecordStartupState(PROXY_ENABLED)); |
- test_context_->SetDataReductionProxyEnabled(true); |
- InitDataReductionProxy(true); |
- |
- // The Lo-Fi field trial will be set to "Disabled" until the first main frame |
- // request with Lo-Fi active. |
- CheckDataReductionProxyLoFiSyntheticTrial(false); |
- |
- // Turn Lo-Fi on. |
- settings->SetLoFiModeActiveOnMainFrame(true); |
- CheckDataReductionProxyLoFiSyntheticTrial(true); |
- |
- // Now turn it off. |
- settings->SetLoFiModeActiveOnMainFrame(false); |
- CheckDataReductionProxyLoFiSyntheticTrial(false); |
} |
TEST_F(DataReductionProxySettingsTest, TestLoFiImplicitOptOutClicksPerSession) { |